diff options
| author | 2023-11-07 08:55:46 +0000 | |
|---|---|---|
| committer | 2024-05-07 08:25:28 +0000 | |
| commit | 1eb5088a8033469607e87c940b5cac82ce8154cd (patch) | |
| tree | 69db19956594d311402b320eb3ac547d3c5de1d6 /libs/androidfw/AssetManager.cpp | |
| parent | ab3903daaa8d1a272f466f7f326fd7eb511aeee3 (diff) | |
AudioService: Register MASTER_BALANCE/MONO observer for all users
Audioservice register content observer for MASTER_BALANCE/MONO at the time of initialization/boot up. Registration by default is only applicable for current user which in this case is primary user.
So even when audio balance/mono changes for secondary user, the callback
won't be received in audioservice and hence the settings update won't
have any effect on the audio output.
Bug: 339131898
Test: manual
- Validated that audio output balance and mono varies based on the settings in the secondary user
- atest AudioManagerTest
- atest AudioServiceTest
Change-Id: Ifce17d23e0dd0af61d6e27de7c7da629e9480e77
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions