summaryrefslogtreecommitdiffstats
path: root/packages/SettingsProvider/AndroidManifest.xml
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2011-06-24 14:58:49 -0700
committerChristopher Tate <ctate@google.com>2011-07-06 14:40:32 -0700
commit79ec80db70d788f35aa13346e4684ecbd401bd84 (patch)
treefd18f64033def7461692f9542bf9e5f01afe2fe0 /packages/SettingsProvider/AndroidManifest.xml
parentbe87cc945b5b094060cbc77b77383aefc60265e4 (diff)
downloadframeworks_base-79ec80db70d788f35aa13346e4684ecbd401bd84.zip
frameworks_base-79ec80db70d788f35aa13346e4684ecbd401bd84.tar.gz
frameworks_base-79ec80db70d788f35aa13346e4684ecbd401bd84.tar.bz2
Make full backup API available to apps
New methods for full backup/restore have been added to BackupAgent (still hidden): onFullBackup() and onRestoreFile(). The former is the entry point for a full app backup to adb/socket/etc: the app then writes all of its files, entire, to the output. During restore, the latter new callback is invoked, once for each file being restored. The full backup/restore interface does not use the previously-defined BackupDataInput / BackupDataOutput classes, because those classes provide an API designed for incremental key/value data structuring. Instead, a new FullBackupDataOutput class has been introduced, through which we restrict apps' abilities to write data during a full backup operation to *only* writing entire on-disk files via a new BackupAgent method called fullBackupFile(). "FullBackupAgent" exists now solely as a concrete shell class that can be instantiated in the case of apps that do not have their own BackupAgent implementations. Along with the API change, responsibility for backing up the .apk file and OBB container has been moved into the framework rather than have the application side of the transaction do it. Change-Id: I12849b06b1a6e4c44d080587c1e9828a52b70dae
Diffstat (limited to 'packages/SettingsProvider/AndroidManifest.xml')
-rw-r--r--packages/SettingsProvider/AndroidManifest.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/SettingsProvider/AndroidManifest.xml b/packages/SettingsProvider/AndroidManifest.xml
index e5f52e2..dd0d064 100644
--- a/packages/SettingsProvider/AndroidManifest.xml
+++ b/packages/SettingsProvider/AndroidManifest.xml
@@ -6,7 +6,6 @@
android:label="@string/app_label"
android:process="system"
android:backupAgent="SettingsBackupAgent"
- android:fullBackupAgent="SettingsBackupAgent"
android:killAfterRestore="false"
android:icon="@drawable/ic_launcher_settings">