diff options
| author | Lais Andrade <lsandrade@google.com> | 2021-07-15 19:57:10 +0100 |
|---|---|---|
| committer | Lais Andrade <lsandrade@google.com> | 2021-08-16 18:21:27 +0000 |
| commit | 56663ddbe74f8d2c0f6103ffb200a690185740dc (patch) | |
| tree | 5113cd5bd6075e2114c41e03bbeab69fc32a12e2 /core/java/android/util/SparseArrayMap.java | |
| parent | 94ef35d90a1f53d57b1be02dfd26d9b1edb8ca23 (diff) | |
Remove call to set wakeLock WorkSource from VibrationThread constructor
A new VibrationThread might be created and dropped if the ongoing
thread takes long to be finished and a new vibration arrived to the
service.
The wakelock is only acquired when a thread starts, so move the calls to
configure the worksource to the run() method.
Fix: 193742818
Test: manual
Change-Id: I7d7953ec9e065bcec78110b44daf3ef57693164d
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions
