Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75604430 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Increase screenshot timeout.

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

Change-Id: If74bc4a3cec366ae28eca549bce28ef212e47d8f
parent d77d4e0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }