Increase screenshot timeout.

Devices with large displays take longer than 5 seconds to write.

Change-Id: If74bc4a3cec366ae28eca549bce28ef212e47d8f
This commit is contained in:
Jeff Sharkey 2013-03-14 10:20:31 -07:00
parent d77d4e0edc
commit 7560443061

View File

@ -161,7 +161,7 @@ static void dumpstate() {
if (screenshot_path[0]) { if (screenshot_path[0]) {
ALOGI("taking screenshot\n"); 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); ALOGI("wrote screenshot: %s\n", screenshot_path);
} }