diff options
| author | Android (Google) Code Review <android-gerrit@google.com> | 2009-06-15 19:03:48 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-06-15 19:03:48 -0700 |
| commit | 6297cb2eb57c183e202744516a96b2dbbf204a09 (patch) | |
| tree | 791001b9954331cdde48c2774e219be3c0514987 /core | |
| parent | 4ebd855bb7362d45833dc811f2622fcc788dec17 (diff) | |
| parent | ace7f094bf07bbd90cb998b9462e4f2d101a498c (diff) | |
| download | frameworks_base-6297cb2eb57c183e202744516a96b2dbbf204a09.zip frameworks_base-6297cb2eb57c183e202744516a96b2dbbf204a09.tar.gz frameworks_base-6297cb2eb57c183e202744516a96b2dbbf204a09.tar.bz2 | |
Merge change 4287 into donut
* changes:
Sketch out a 'bmgr' command line tool
Diffstat (limited to 'core')
| -rw-r--r-- | core/java/android/backup/IBackupManager.aidl | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/core/java/android/backup/IBackupManager.aidl b/core/java/android/backup/IBackupManager.aidl index 1054642..efc664c 100644 --- a/core/java/android/backup/IBackupManager.aidl +++ b/core/java/android/backup/IBackupManager.aidl @@ -48,10 +48,22 @@ interface IBackupManager { oneway void agentDisconnected(String packageName); /** - * Schedule a full backup of the given package. Callers must hold the + * Schedule an immediate backup attempt for all pending updates. This is + * primarily intended for transports to use when they detect a suitable + * opportunity for doing a backup pass. If there are no pending updates to + * be sent, no action will be taken. Even if some updates are pending, the + * transport will still be asked to confirm via the usual requestBackupTime() + * method. + * + * <p>Callers must hold the android.permission.BACKUP permission to use this method. + */ + oneway void backupNow(); + + /** + * Identify the currently selected transport. Callers must hold the * android.permission.BACKUP permission to use this method. */ - oneway void scheduleFullBackup(String packageName); + int getCurrentTransport(); /** * Specify a default backup transport. Callers must hold the |
