From 9c3cee9824026764275e4d84ba9b5d9fdc5da690 Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Thu, 25 Mar 2010 16:06:43 -0700 Subject: [PATCH] API CHANGE: Backup/restore API changes requested by the API Council * @hide the android.app.backup.RestoreSession class and functionality * Provide a public method on android.app.backup.BackupManager that apps can use to request a restore pass of their last-known-good dataset. The new method is called requestRestore(). * Provide the name of the package being restored, not just its ordinal, in the RestoreObserver's onUpdate() callback. Part of bug #2545514 Change-Id: I9689bf8d6e2b808b4ee412424a36a835be0a5ca8 --- api/current.xml | 59 ++++--------------- .../src/com/android/commands/bmgr/Bmgr.java | 4 +- .../android/app/backup/BackupManager.java | 37 ++++++++++++ .../android/app/backup/IRestoreObserver.aidl | 3 +- .../android/app/backup/RestoreObserver.java | 18 ++++-- .../android/app/backup/RestoreSession.java | 13 ++-- .../android/server/BackupManagerService.java | 2 +- 7 files changed, 73 insertions(+), 63 deletions(-) diff --git a/api/current.xml b/api/current.xml index 1ac681203ac81..f9470d9f3a046 100644 --- a/api/current.xml +++ b/api/current.xml @@ -27412,17 +27412,6 @@ - - + + + + - - - - - - - - - -