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

Commit 8c64fb6a authored by Chris Fries's avatar Chris Fries Committed by android-build-merger
Browse files

Merge "Revert "dumpstate: Always vibrate, even in DND"" am: 1453e8a2 am: c5c8b2cd

am: 9246f4be

Change-Id: If5c020ca323b8a65750c6c874b82fb034d8f4438
parents d159b1bb 9246f4be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1922,7 +1922,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", "-f", std::to_string(duration_ms), "dumpstate"},
    RunCommand("", {"cmd", "vibrator", "vibrate", std::to_string(duration_ms), "dumpstate"},
               CommandOptions::WithTimeout(10)
                   .Log("Vibrate: '%s'\n")
                   .Always()