| commit | 8a1cbede1dba2cd359324aaef245b4dbd49b9e90 | [log] [tgz] |
|---|---|---|
| author | Eric Laurent <elaurent@google.com> | Tue Sep 20 00:43:05 2022 +0000 |
| committer | Eric Laurent <elaurent@google.com> | Wed Oct 05 19:07:31 2022 +0000 |
| tree | 5893c5a7af082cb0db57fe5628562c2a3508a19a | |
| parent | 3e5c74adf4c36aee6f635dfae4a686eb8a15ee2c [diff] |
AudioService: fix unsafe volume playback time accumulation Use the AlarmManager and intents as periodic timer instead of the message handler when accumulating the playback time with unsafe volume levels. Using the handler was not counting time spend in suspend which happens when using offload playback. Bug: 244322644 Test: repo steps in bug Change-Id: Ife6fda6120b9a2d6c30cc87a76be1521416c0628 (cherry picked from commit 92cb946d7fbb01d1683aa6c3dff2e29f41b573a9)