Use getDeviceAttributesForStream which returns AudioDeviceAttributes
Instead of getDeviceForStream which returns the device type now use the new method getDeviceAttributesForStream. This allows for more specialized volume adjustment/setting logic based on a specific device. Bug: 393657380 Test: atest AudioDeviceVolumeManagerTest, VolumeHelperTest, AbsoluteVolumeBehaviorTest Flag: EXEMPT refactor Change-Id: Ie5b83baeaf5007edb28a1a042266d8aa5b82ba2b
Loading
Please register or sign in to comment