OSDN Git Service

Mark wallpaper as backupInForeground="true"
authorChristopher Tate <ctate@google.com>
Thu, 4 Aug 2016 18:16:25 +0000 (11:16 -0700)
committerChristopher Tate <ctate@google.com>
Thu, 4 Aug 2016 18:45:55 +0000 (11:45 -0700)
It's fine for wallpaper backups to proceed even while the system uid
is considered to be doing something foreground-equivalent, since it's
in its own process and killing it won't interrupt the actual system
work.

Bug 30662562

Change-Id: I463c1ed221da17fbeb336b3be09d3b1ac47aca80

packages/WallpaperBackup/AndroidManifest.xml

index b8cea20..c548101 100644 (file)
@@ -24,6 +24,7 @@
                  android:process="system"
                  android:killAfterRestore="false"
                  android:allowBackup="true"
+                 android:backupInForeground="true"
                  android:backupAgent=".WallpaperBackupAgent"
                  android:fullBackupOnly="true" >
     </application>