Run wallpaper chooser in a separate process
Fixes cases where the wallpaper previews were not loading due to OOM errors.
Bug #5453040
Change-Id: I96ea5e215e63f0848ca518c982a6d695d0dff75f
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index dd9120f..cbb06f6 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -83,7 +83,8 @@
style="@style/Theme.WallpaperPicker"
android:label="@string/pick_wallpaper"
android:icon="@drawable/ic_launcher_wallpaper"
- android:finishOnCloseSystemDialogs="true">
+ android:finishOnCloseSystemDialogs="true"
+ android:process=":wallpaper_chooser">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />