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

Commit 7a836054 authored by Chris Fries's avatar Chris Fries Committed by android-build-merger
Browse files

Merge "Revert "Revert "dumpstate: Always vibrate, even in DND""" am: 6791760e am: 41c3d5fb

am: 3f25a4c4

Change-Id: I4818594e3916d888a6b3e0f196d020f3b23ab288
parents 56798d35 3f25a4c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1991,7 +1991,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()