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

Commit 246bd9b6 authored by Takuya Ogawa's avatar Takuya Ogawa Committed by android-build-merger
Browse files

Merge "dumpstate: disable vibration when -q option is set" am: 266790e1 am: 935061dd

am: 746846e8

Change-Id: I30e346f3206c07d072def7f15225911dac1763c8
parents f071fb8b 746846e8
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -1621,7 +1621,7 @@ static void ShowUsageAndExit(int exitCode = 1) {
            "  -p: capture screenshot to filename.png (requires -o)\n"
            "  -z: generate zipped file (requires -o)\n"
            "  -s: write output to control socket (for init)\n"
            "  -S: write file location to control socket (for init; requires -o and -z)"
            "  -S: write file location to control socket (for init; requires -o and -z)\n"
            "  -q: disable vibrate\n"
            "  -B: send broadcast when finished (requires -o)\n"
            "  -P: send broadcast when started and update system properties on "
@@ -2213,10 +2213,12 @@ int run_main(int argc, char* argv[]) {
    }

    /* vibrate a few but shortly times to let user know it's finished */
    if (do_vibrate) {
        for (int i = 0; i < 3; i++) {
            Vibrate(75);
            usleep((75 + 50) * 1000);
        }
    }

    /* tell activity manager we're done */
    if (do_broadcast) {