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
4 files changed