summaryrefslogtreecommitdiffstats
path: root/packages/BackupRestoreConfirmation/src
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2011-05-18 16:28:19 -0700
committerChristopher Tate <ctate@google.com>2011-06-01 15:09:55 -0700
commit75a99709accef8cf221fd436d646727e7c8dd1f1 (patch)
tree9ce16dbf95890e8dad57d63724a6cdb3d36d6fb9 /packages/BackupRestoreConfirmation/src
parent2978cef0a77550ea3a364ffbf42fc43f2029070e (diff)
downloadframeworks_base-75a99709accef8cf221fd436d646727e7c8dd1f1.zip
frameworks_base-75a99709accef8cf221fd436d646727e7c8dd1f1.tar.gz
frameworks_base-75a99709accef8cf221fd436d646727e7c8dd1f1.tar.bz2
Restore from a previous full backup's tarfile
Usage: adb restore [tarfilename] Restores app data [and installs the apps if necessary from the backup file] captured in a previous invocation of 'adb backup'. The user must explicitly acknowledge the action on-device before it is allowed to proceed; this prevents any "invisible" pushes of content from the host to the device. Known issues: * The settings databases and wallpaper are saved/restored, but lots of other system state is not yet captured in the full backup. This means that for practical purposes this is usable for 3rd party apps at present but not for full-system cloning/imaging. Change-Id: I0c748b645845e7c9178e30bf142857861a64efd3
Diffstat (limited to 'packages/BackupRestoreConfirmation/src')
-rw-r--r--packages/BackupRestoreConfirmation/src/com/android/backupconfirm/BackupRestoreConfirmation.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/BackupRestoreConfirmation.java b/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/BackupRestoreConfirmation.java
index 4b42067..52bfc28 100644
--- a/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/BackupRestoreConfirmation.java
+++ b/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/BackupRestoreConfirmation.java
@@ -98,6 +98,8 @@ public class BackupRestoreConfirmation extends Activity {
break;
case MSG_RESTORE_PACKAGE: {
+ String name = (String) msg.obj;
+ mStatusView.setText(name);
}
break;