diff options
| author | 2022-06-06 16:40:14 +0000 | |
|---|---|---|
| committer | 2022-06-08 22:07:42 +0000 | |
| commit | b2ce7519b380a55358bed4b7128f7accddb14967 (patch) | |
| tree | 8d3bbda0409046512859f75128afad2c0ee3527e /libs/androidfw/StringPool.cpp | |
| parent | 2ab34f649489d77088da5c83f14030407de36d54 (diff) | |
AudioService: config for splitting notif and ring volumes
Add support for ability to configure device with a choice
of aliasing notification and ringtone volumes (default)
or not (ringtone volume is separately controlled from
notification volume):
- add config_alias_ring_notif_stream_types property
for per-device configuration
- update voice stream aliases based on property
- in audio dump: output aliases when present
For testing: add ability to inject AppOpsManager
in the AudioService constructor so a mock can
be injected.
Bug: 228180614
Test: atest AudioServiceTest#testRingNotifAlias
Change-Id: I8b0ea86aecd398b76dbaa920e19727d0dd3d6eb0
Merged-In: I8b0ea86aecd398b76dbaa920e19727d0dd3d6eb0
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions