From 7560443061846fe0be5b658a7904786892007034 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Thu, 14 Mar 2013 10:20:31 -0700 Subject: [PATCH] Increase screenshot timeout. Devices with large displays take longer than 5 seconds to write. Change-Id: If74bc4a3cec366ae28eca549bce28ef212e47d8f --- cmds/dumpstate/dumpstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index 7fed20911..b3a4cc66a 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -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); }