summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2014-06-30 14:15:31 -0700
committerSunny Goyal <sunnygoyal@google.com>2014-07-21 10:34:21 -0700
commit651077bdd603bb182be039925fd17bdf0da15016 (patch)
treea8707757fd1c77ecf0de554dab61090a72e7cbb8 /AndroidManifest.xml
parent82cc3fe6c77322d93ff74b25354e4bca77ab4a83 (diff)
downloadandroid_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 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 67d86d2fa..49efc5d89 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -188,6 +188,13 @@
</intent-filter>
</receiver>
+ <!-- Intent received used to initialize a restored widget -->
+ <receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
+ <intent-filter>
+ <action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
+ </intent-filter>
+ </receiver>
+
<!-- New user initialization; set up initial wallpaper -->
<receiver
android:name="com.android.launcher3.UserInitializeReceiver"