diff options
| author | Lais Andrade <lsandrade@google.com> | 2021-07-15 19:57:10 +0100 |
|---|---|---|
| committer | Simon Bowden <sbowden@google.com> | 2021-11-03 15:06:01 +0000 |
| commit | c7db2377f1af092110ca38a61a03a9a325b3dc9a (patch) | |
| tree | 4617d6fb0cf842bf4f1faaee99e1d218c794d896 /opengl/java/android/opengl/Material.java | |
| parent | 9145f4a48827027666d8e07180b5b7dff0006621 (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
(cherry picked from commit 56663ddbe74f8d2c0f6103ffb200a690185740dc)
Merged-In: I7d7953ec9e065bcec78110b44daf3ef57693164d
Diffstat (limited to 'opengl/java/android/opengl/Material.java')
0 files changed, 0 insertions, 0 deletions
