commit | fad808ecd8871ecd42fca0f4e771871733d050c0 | [log] [tgz] |
---|---|---|
author | Simon Bowden <sbowden@google.com> | Mon Feb 28 16:06:08 2022 +0000 |
committer | Simon Bowden <sbowden@google.com> | Tue Mar 01 15:21:54 2022 +0000 |
tree | 80636aa2d7ebe66eee7ee1906fc7a761b8a61b49 | |
parent | be091340e3923550e8a5d1efe73cef20c3489417 [diff] |
Make VibrationThread long-lived. This CL changes VibrationManagerService/VibrationThread to create and re-use a single thread instance, rather than spawning and starting a new thread for every vibration. There is still only ever one active vibration at a time. Bug: 193792066, 219776664 Test: manual Change-Id: I9d397ff32a174f8e02c8a490b2b3d4ea040650db