diff options
author | Christopher Tate <ctate@google.com> | 2010-03-25 16:06:43 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2010-03-26 14:26:44 -0700 |
commit | 9c3cee9824026764275e4d84ba9b5d9fdc5da690 (patch) | |
tree | a68cba5a6d4dc4dc747c4089a2426dcfe5550b77 /cmds/bmgr/src/com/android/commands | |
parent | a3de74555120cc4dc205a3f93ef44c843b8d64a8 (diff) | |
download | frameworks_base-9c3cee9824026764275e4d84ba9b5d9fdc5da690.zip frameworks_base-9c3cee9824026764275e4d84ba9b5d9fdc5da690.tar.gz frameworks_base-9c3cee9824026764275e4d84ba9b5d9fdc5da690.tar.bz2 |
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
Diffstat (limited to 'cmds/bmgr/src/com/android/commands')
-rw-r--r-- | cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java b/cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java index d040b44..fa8a7c8 100644 --- a/cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java +++ b/cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java @@ -278,8 +278,8 @@ public final class Bmgr { System.out.println("restoreStarting: " + numPackages + " packages"); } - public void onUpdate(int nowBeingRestored) { - System.out.println("onUpdate: " + nowBeingRestored); + public void onUpdate(int nowBeingRestored, String currentPackage) { + System.out.println("onUpdate: " + nowBeingRestored + " = " + currentPackage); } public void restoreFinished(int error) { |