summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src
diff options
context:
space:
mode:
author Jean-Michel Trivi <jmtrivi@google.com> 2022-11-15 04:00:50 +0000
committer Jean-Michel Trivi <jmtrivi@google.com> 2022-11-22 02:37:09 +0000
commit473f4861c5177783e464f23aa1279ce4a06bfc16 (patch)
tree440c88f3b033a325fef5116e92819f4943c552fe /tests/DynamicCodeLoggerIntegrationTests/src
parente223e2bd010818fa318629920f4d04a5057de429 (diff)
Fix ACTION_VOLUME_CHANGED behavior
The AudioDeviceVolumeManager.setDeviceVolume() method enables changing the volume on a device that is not the current device for a given stream. But the ACTION_VOLUME_CHANGED intent was fired for any volume update, regardless of the device affected. Since the intent doesn't indicate for which device the volume changed, an application registering for this intent would receive volume updates that don't match the current volume settings. This change disables firing the intent when the device is not the current device for the stream type. Bug: 253118335 Test: atest android.media.audio.cts.AudioManagerTest#testVolumeChangedIntent Change-Id: I6abad542eaa60a1db5d008d4b141e8f03c8bb29c Merged-In: I31ca413666e9db94b1ed2db20c87effb46753e3e
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions