diff options
| author | 2022-09-20 00:43:05 +0000 | |
|---|---|---|
| committer | 2022-09-21 01:50:44 +0000 | |
| commit | 92cb946d7fbb01d1683aa6c3dff2e29f41b573a9 (patch) | |
| tree | d37321dc475abc194ba8f6eb1742ea7a17705ad2 /libs/androidfw/StringPool.cpp | |
| parent | 3aeb8f4925055944aca164d996075d350aa241bd (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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions