Skip to content
Commit 47556d88 authored by Yan Han's avatar Yan Han
Browse files

Update volume behavior documentation.

setDeviceVolumeBehavior doesn't work for any of the absolute volume
behaviors, as they cause AudioService to throw an exception in
setDeviceVolumeBehaviorInternal.

The documentation and runtime checks in AudioManager should be
consistent with this behavior.

Also document compatibility behavior for
DEVICE_VOLUME_BEHAVIOR_ADJUST_ONLY in its definition.

Test: make
Bug: 240663268
Change-Id: I60b7aac0c329dae0e1301362d9803d7586e62602
parent 1480f63c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment