Allowing Launcher to be backed up while in foreground

Full backup requies the process to be killed, and hence avoids backing
up apps which are in foreground. Since the launcher is more likely to be
the foreground app when device is locked, it never gets backuped up.

Note that full backup only runs when the screen is off, and the launcher
activity is restarted as soon as the full backup is complete (without
waiting for the screen to turn on).
There would not be much visible impact to the user.

Bug: 30970354
Change-Id: Icc16b35682c5b8d59316bd9d68774d38cbee47dd
This commit is contained in:
Sunny Goyal 2016-08-19 13:13:03 -07:00
parent 9f30165b8c
commit 3bba168e62
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@
<application
android:backupAgent="com.android.launcher3.LauncherBackupAgent"
android:fullBackupOnly="true"
android:backupInForeground="true"
android:fullBackupContent="@xml/backupscheme"
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher_home"