summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chris Fries <cfries@google.com> 2019-09-17 15:32:09 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2019-09-17 15:32:09 +0000
commit6791760e494c89fba278316d6525fb62409f22bf (patch)
tree3ed8dcd88eb28ea0436b60721581581913299b3f
parent873ce7f77fc48b2a4c657997b4ef105fd3650da2 (diff)
parent0c3de87a70fb4545af888570754c3030f9b8aae4 (diff)
Merge "Revert "Revert "dumpstate: Always vibrate, even in DND"""
-rw-r--r--cmds/dumpstate/dumpstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 73c66c248b..254e14203e 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -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()