Merge "Clarify adb bugreport failures on pre-N devices." am: 4c7104ab2a

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1451737

Change-Id: Idb45ba95bf0970e6cdd37405414857e9052e084f
This commit is contained in:
Treehugger Robot 2020-10-07 01:20:28 +00:00 committed by Automerger Merge Worker
commit 73afed6c6f

View file

@ -224,7 +224,8 @@ int Bugreport::DoIt(int argc, const char** argv) {
// 'bugreport' would generate a lot of output the user might not be prepared to handle).
fprintf(stderr,
"Failed to get bugreportz version: 'bugreportz -v' returned '%s' (code %d).\n"
"If the device does not run Android 7.0 or above, try 'adb bugreport' instead.\n",
"If the device does not run Android 7.0 or above, try this instead:\n"
"\tadb bugreport > bugreport.txt\n",
bugz_output.c_str(), status);
return status != 0 ? status : -1;
}