summaryrefslogtreecommitdiffstats
path: root/core/java/android/backup
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2009-05-06 11:22:00 -0700
committerChristopher Tate <ctate@google.com>2009-05-06 11:24:27 -0700
commit46758123868d91e7b186aebb27c4c4988dede43e (patch)
treedacb54c6da67d1ed7f355a956fc0b335d77af4b8 /core/java/android/backup
parentc770ed8a6bb7614ed4a85a672e4e6830bed19a95 (diff)
downloadframeworks_base-46758123868d91e7b186aebb27c4c4988dede43e.zip
frameworks_base-46758123868d91e7b186aebb27c4c4988dede43e.tar.gz
frameworks_base-46758123868d91e7b186aebb27c4c4988dede43e.tar.bz2
Add a Backup Manager interface to request a full backup
Given a package name, the Backup Manager schedules a *full* (i.e. non- incremental) backup pass for that package. Also added the state-file handling for distinguishing to the target between the full and incremental backup requests.
Diffstat (limited to 'core/java/android/backup')
-rw-r--r--core/java/android/backup/IBackupManager.aidl8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/java/android/backup/IBackupManager.aidl b/core/java/android/backup/IBackupManager.aidl
index 7efaf58..cf22798 100644
--- a/core/java/android/backup/IBackupManager.aidl
+++ b/core/java/android/backup/IBackupManager.aidl
@@ -29,7 +29,13 @@ package android.backup;
interface IBackupManager {
/**
* Tell the system service that the caller has made changes to its
- * data, and therefore needs to undergo a backup pass.
+ * data, and therefore needs to undergo an incremental backup pass.
*/
oneway void dataChanged(String packageName);
+
+ /**
+ * Schedule a full backup of the given package.
+ * !!! TODO: protect with a signature-or-system permission?
+ */
+ oneway void scheduleFullBackup(String packageName);
}