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

Commit 57819881 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "dumpstate: Always vibrate, even in DND"

parents 49b166e2 9b5ce25a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1886,7 +1886,7 @@ static void SendBroadcast(const std::string& action, const std::vector<std::stri

static void Vibrate(int duration_ms) {
    // clang-format off
    RunCommand("", {"cmd", "vibrator", "vibrate", std::to_string(duration_ms), "dumpstate"},
    RunCommand("", {"cmd", "vibrator", "vibrate", "-f", std::to_string(duration_ms), "dumpstate"},
               CommandOptions::WithTimeout(10)
                   .Log("Vibrate: '%s'\n")
                   .Always()