diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2014-06-30 14:15:31 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2014-07-21 10:34:21 -0700 |
commit | 651077bdd603bb182be039925fd17bdf0da15016 (patch) | |
tree | a8707757fd1c77ecf0de554dab61090a72e7cbb8 /res/values | |
parent | 82cc3fe6c77322d93ff74b25354e4bca77ab4a83 (diff) | |
download | android_packages_apps_Trebuchet-651077bdd603bb182be039925fd17bdf0da15016.tar.gz android_packages_apps_Trebuchet-651077bdd603bb182be039925fd17bdf0da15016.tar.bz2 android_packages_apps_Trebuchet-651077bdd603bb182be039925fd17bdf0da15016.zip |
Adding app widget restore support in Launcher3 for android L
When the app is restored, it displays placeholders for all pending widgets.
These placeholders can be moved and removed similar to a widget (size is fixed
to what defined in backup). Once the system notifies the launcher of the new
widget ids, the place holders are replaced with actual widgets.
issue: 10779035
Change-Id: I68cbe4da01e9ca2978cb4471a7c645d2aa592055
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/colors.xml | 1 | ||||
-rw-r--r-- | res/values/strings.xml | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml index d1d33a0f6..27a5b61ee 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -26,6 +26,7 @@ <color name="bubble_dark_background">#20000000</color> <color name="appwidget_error_color">#FCCC</color> + <color name="appwidget_not_ready_color">#F48F</color> <color name="workspace_all_apps_and_delete_zone_text_color">#CCFFFFFF</color> <color name="workspace_all_apps_and_delete_zone_text_shadow_color">#A0000000</color> diff --git a/res/values/strings.xml b/res/values/strings.xml index 7c5ee9c86..1ee1be6fd 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -190,6 +190,9 @@ s --> <!-- Text to show user in place of a gadget when we can't display it properly --> <string name="gadget_error_text">Problem loading widget</string> + <!-- Text to show user in place of a gadget when it is not yet ready/initialized. --> + <string name="gadget_pending_text" translatable="false">Widget not ready</string> + <!-- Text to inform the user that they can't uninstall a system application --> <string name="uninstall_system_app_text">This is a system app and can\'t be uninstalled.</string> |