Increase screenshot timeout.
Devices with large displays take longer than 5 seconds to write. Change-Id: If74bc4a3cec366ae28eca549bce28ef212e47d8f
This commit is contained in:
parent
d77d4e0edc
commit
7560443061
@ -161,7 +161,7 @@ static void dumpstate() {
|
||||
|
||||
if (screenshot_path[0]) {
|
||||
ALOGI("taking screenshot\n");
|
||||
run_command(NULL, 5, "/system/bin/screencap", "-p", screenshot_path, NULL);
|
||||
run_command(NULL, 10, "/system/bin/screencap", "-p", screenshot_path, NULL);
|
||||
ALOGI("wrote screenshot: %s\n", screenshot_path);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user