From bb3b02f562bef4de063099c085d3199a77d06cfd Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Thu, 15 Jan 2015 12:00:14 -0800 Subject: Replacing hotseat icon to an appropriate system app > During backupi, store the hotseat target app type, based on some predefined common system apps > During restore, save this app type in the restore flag, if it is a hotseat app > During first launcher load, if an app is not being restored, try to replace it with an appropriate replacement for that type, otherwise delete it. Bug: 18764649 Change-Id: Ic49e40bd707bd8d7de18bbab8b1e58a0a36426a2 --- res/xml/app_target_browser.xml | 23 +++++++++++++++++++++++ res/xml/app_target_camera.xml | 23 +++++++++++++++++++++++ res/xml/app_target_email.xml | 23 +++++++++++++++++++++++ res/xml/app_target_gallery.xml | 23 +++++++++++++++++++++++ res/xml/app_target_messenger.xml | 26 ++++++++++++++++++++++++++ res/xml/app_target_phone.xml | 24 ++++++++++++++++++++++++ 6 files changed, 142 insertions(+) create mode 100644 res/xml/app_target_browser.xml create mode 100644 res/xml/app_target_camera.xml create mode 100644 res/xml/app_target_email.xml create mode 100644 res/xml/app_target_gallery.xml create mode 100644 res/xml/app_target_messenger.xml create mode 100644 res/xml/app_target_phone.xml (limited to 'res') diff --git a/res/xml/app_target_browser.xml b/res/xml/app_target_browser.xml new file mode 100644 index 000000000..d7c3ed5fd --- /dev/null +++ b/res/xml/app_target_browser.xml @@ -0,0 +1,23 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/xml/app_target_camera.xml b/res/xml/app_target_camera.xml new file mode 100644 index 000000000..f65a2b168 --- /dev/null +++ b/res/xml/app_target_camera.xml @@ -0,0 +1,23 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/xml/app_target_email.xml b/res/xml/app_target_email.xml new file mode 100644 index 000000000..44f0a407d --- /dev/null +++ b/res/xml/app_target_email.xml @@ -0,0 +1,23 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/xml/app_target_gallery.xml b/res/xml/app_target_gallery.xml new file mode 100644 index 000000000..c9d34924a --- /dev/null +++ b/res/xml/app_target_gallery.xml @@ -0,0 +1,23 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/xml/app_target_messenger.xml b/res/xml/app_target_messenger.xml new file mode 100644 index 000000000..278eb5ca8 --- /dev/null +++ b/res/xml/app_target_messenger.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/res/xml/app_target_phone.xml b/res/xml/app_target_phone.xml new file mode 100644 index 000000000..5d6ca316e --- /dev/null +++ b/res/xml/app_target_phone.xml @@ -0,0 +1,24 @@ + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3