summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2012-01-06 15:46:14 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-06 15:46:14 -0800
commit36afde3387fff9eac0e6d54854b8d43fe1ebb0cc (patch)
tree710fef6c58bd64867dae0d56620dffede44d91b5
parent829c0b8d9e7ac32141349117ba4364a2f63b22d8 (diff)
parentbffa4ca9ad2702d51f5b391b7a05be0c7c691e4e (diff)
downloadsystem_core-36afde3387fff9eac0e6d54854b8d43fe1ebb0cc.zip
system_core-36afde3387fff9eac0e6d54854b8d43fe1ebb0cc.tar.gz
system_core-36afde3387fff9eac0e6d54854b8d43fe1ebb0cc.tar.bz2
Merge "Tell the user to unlock/confirm backup & restore operations"
-rw-r--r--adb/commandline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/adb/commandline.c b/adb/commandline.c
index 31ba3ac..ffce883 100644
--- a/adb/commandline.c
+++ b/adb/commandline.c
@@ -648,6 +648,7 @@ static int backup(int argc, char** argv) {
return -1;
}
+ printf("Now unlock your device and confirm the backup operation.\n");
copy_to_file(fd, outFd);
adb_close(fd);
@@ -675,6 +676,7 @@ static int restore(int argc, char** argv) {
return -1;
}
+ printf("Now unlock your device and confirm the restore operation.\n");
copy_to_file(tarFd, fd);
adb_close(fd);