Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2481379b authored by Vlad Popa's avatar Vlad Popa
Browse files

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
parent c1e8d636
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment