diff options
Diffstat (limited to 'core/java/android/backup/IBackupManager.aidl')
| -rw-r--r-- | core/java/android/backup/IBackupManager.aidl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/backup/IBackupManager.aidl b/core/java/android/backup/IBackupManager.aidl index f5b82fe..1054642 100644 --- a/core/java/android/backup/IBackupManager.aidl +++ b/core/java/android/backup/IBackupManager.aidl @@ -16,6 +16,8 @@ package android.backup; +import android.backup.IRestoreSession; + /** * Direct interface to the Backup Manager Service that applications invoke on. The only * operation currently needed is a simple notification that the app has made changes to @@ -60,4 +62,12 @@ interface IBackupManager { * @return The ID of the previously selected transport. */ int selectBackupTransport(int transportID); + + /** + * Begin a restore session with the given transport (which may differ from the + * currently-active backup transport). + * + * @return An interface to the restore session, or null on error. + */ + IRestoreSession beginRestoreSession(int transportID); } |
