From 42e45c70689f5d601357fe9f768ec1de4b14b274 Mon Sep 17 00:00:00 2001 From: Felipe Leme Date: Wed, 4 May 2016 16:12:02 -0700 Subject: [PATCH] Display warning about bugreport delay. BUG: 28569299 Change-Id: Ide6109fd24737cbaf6296ef7326127e85d6420cb --- adb/commandline.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adb/commandline.cpp b/adb/commandline.cpp index 39fe3c47d..2edfd0ae5 100644 --- a/adb/commandline.cpp +++ b/adb/commandline.cpp @@ -1182,6 +1182,8 @@ static int bugreport(TransportType transport_type, const char* serial, int argc, } std::string output; + fprintf(stderr, "Bugreport is in progress and it could take minutes to complete.\n" + "Please be patient and do not cancel or disconnect your device until it completes.\n"); int status = send_shell_command(transport_type, serial, "bugreportz", true, &output); if (status != 0 || output.empty()) return status; output = android::base::Trim(output);