diff options
author | Christopher Tate <ctate@android.com> | 2009-09-01 20:32:49 -0700 |
---|---|---|
committer | Christopher Tate <ctate@android.com> | 2009-09-01 20:59:36 -0700 |
commit | 5e1ab335e6e8fbfa19c64d53880a22f472010953 (patch) | |
tree | 4da429b3833ff29256d23f9e2e7f1b3a41715b65 /packages/SettingsProvider/AndroidManifest.xml | |
parent | c937b5ce4ff2f39fd9c60f718f98550a932b62f0 (diff) | |
download | frameworks_base-5e1ab335e6e8fbfa19c64d53880a22f472010953.zip frameworks_base-5e1ab335e6e8fbfa19c64d53880a22f472010953.tar.gz frameworks_base-5e1ab335e6e8fbfa19c64d53880a22f472010953.tar.bz2 |
Expand apps' control over the settings restore process
Applications can now specify two more aspects of the restore process: whether
they need to run with their own custom Application subclass rather than being
launched in the usual restricted mode during restore, and whether it's okay for
the backup manager to kill the app process once restore has completed. The new
manifest attributes for these are, respectively, android:restoreNeedsApplication
and android:killAfterRestore.
If unspecified in the manifest, restoreNeedsApplication is false, and
killAfterRestore is true.
In order to support kill-after-restore cleanly, this change also adds a new
system-process-only interface to the Activity Manager, which will schedule a
"commit suicide" event on the target app's main thread looper.
The framework backup agents have been given the appropriate new backup
attributes as well.
Diffstat (limited to 'packages/SettingsProvider/AndroidManifest.xml')
-rw-r--r-- | packages/SettingsProvider/AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SettingsProvider/AndroidManifest.xml b/packages/SettingsProvider/AndroidManifest.xml index af0a1bd..1e1d729 100644 --- a/packages/SettingsProvider/AndroidManifest.xml +++ b/packages/SettingsProvider/AndroidManifest.xml @@ -8,6 +8,7 @@ android:label="@string/app_label" android:process="system" android:backupAgent="SettingsBackupAgent" + android:killAfterRestore="false" android:icon="@drawable/ic_launcher_settings"> <provider android:name="SettingsProvider" android:authorities="settings" |