DO NOT MERGE AudioService: setDeviceVolume no-op when for current device

Disregard device volume commands when addressed for the current
device for that stream type. Current use of this API is
to control unused/disconnected devices, so doing this prevents
- adjusting the volume outside of the legacy volume APIs
- prevents feedback loop is the user is using
 ACTION_VOLUME_CHANGED to react to volume changes, and is
 issuing volume commands on a device in use.

Bug: 267412093
Test: dock/undock
Change-Id: Ibc14d28ad9a881ea41c619815f32cfde1f1b7885
2 files changed