diff options
| author | Christopher Tate <ctate@google.com> | 2009-05-06 11:22:00 -0700 | 
|---|---|---|
| committer | Christopher Tate <ctate@google.com> | 2009-05-06 11:24:27 -0700 | 
| commit | 46758123868d91e7b186aebb27c4c4988dede43e (patch) | |
| tree | dacb54c6da67d1ed7f355a956fc0b335d77af4b8 /core/java/android/backup | |
| parent | c770ed8a6bb7614ed4a85a672e4e6830bed19a95 (diff) | |
| download | frameworks_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.aidl | 8 | 
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);  } | 
