diff options
| author | Lais Andrade <lsandrade@google.com> | 2021-08-31 18:47:20 +0100 |
|---|---|---|
| committer | Lais Andrade <lsandrade@google.com> | 2021-09-02 13:45:52 +0100 |
| commit | 9fdaad5598a35bce58bfc8192f2bf19aa83adbc9 (patch) | |
| tree | 37414e9bc095ab7c335e20ccb0c5616a8851cc5e /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 637cc7dcea50f86d4673c23411741f50a61ada1e (diff) | |
Set external control to false on VibratorManagerService init
The VibratorManagerService turns off all vibrators during initialization
to handle the scenario where the system server has restarted (e.g. after
being killed by watchdog after a deadlock) but the vibrator hardware was
still performing a previous vibrate command.
This also sets the external control state to false, so the service won't
attemp to vibrate when the hardware is actually set for external
control.
Bug: 197165183
Test: VibratorManagerServiceTest
Change-Id: If4f0df57333fb5863fe9c1e781575634606ee662
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
