diff options
| author | 2019-09-14 15:49:41 +0000 | |
|---|---|---|
| committer | 2019-09-14 15:51:43 +0000 | |
| commit | 0c3de87a70fb4545af888570754c3030f9b8aae4 (patch) | |
| tree | 760a3850be2d846de8df97c1dfc19a5a57453a7f | |
| parent | e7e95fb21a2cbd5e42ae12412b50616b93ffab0c (diff) | |
Revert "Revert "dumpstate: Always vibrate, even in DND""
This reverts commit e7e95fb21a2cbd5e42ae12412b50616b93ffab0c.
Reason for revert: AOSP VibratorService should have -f by now
Change-Id: I7ee369fe956d2fd274e2dcc0a49888e34506b7c0
Fixes: 134058764
| -rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 32f7e6dac9..e2f2f0bd5f 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -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() |