diff options
| author | 2022-09-20 00:43:05 +0000 | |
|---|---|---|
| committer | 2022-10-05 19:07:31 +0000 | |
| commit | 8a1cbede1dba2cd359324aaef245b4dbd49b9e90 (patch) | |
| tree | 5893c5a7af082cb0db57fe5628562c2a3508a19a /libs/androidfw/StringPool.cpp | |
| 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)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions