From bffa4ca9ad2702d51f5b391b7a05be0c7c691e4e Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Fri, 6 Jan 2012 15:43:03 -0800 Subject: Tell the user to unlock/confirm backup & restore operations People are being confused about the silent failure of backup/restore when they didn't know they had to unlock the device & confirm the backup/restore operation, so now adb prints a brief reminder. Change-Id: I1b32913f0ad0cf6e30bf235dc975b9e983b533fd --- adb/commandline.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'adb') diff --git a/adb/commandline.c b/adb/commandline.c index 31ba3acce..ffce883cc 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); -- cgit v1.2.3