commit | 56663ddbe74f8d2c0f6103ffb200a690185740dc | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Thu Jul 15 19:57:10 2021 +0100 |
committer | Lais Andrade <lsandrade@google.com> | Mon Aug 16 18:21:27 2021 +0000 |
tree | 5113cd5bd6075e2114c41e03bbeab69fc32a12e2 | |
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