Use AudioDeviceAttributes for managing volumes
Before this change we were using the device type for volume changes. This can become a problem when dealing with the device behaviour of different devices. A device type can have multiple behaviours when registering through the AudioDeviceVolumeManager API Bug: 393657380 Test: atest AudioDeviceVolumeManagerTest, VolumeHelperTest, AbsoluteVolumeBehaviorTest Flag: android.media.audio.unify_absolute_volume_management Change-Id: Iff618f36bc89d208d3a376d80381e76316835ffb
Loading
Please register or sign in to comment