summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2019-04-10 14:11:40 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2019-04-18 15:57:13 -0700
commit90dbfdf7684493dc7684f95801a2c44cfc418583 (patch)
treeb5da6266f49196163a0d47cb04fb4565bd36ea5d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb17b60c3b11305879cdfffa7cdff77df5d4380b4 (diff)
AudioService: support "full volume devices"
When CEC sink is found, add DEVICE_OUT_HDMI to the list of full volume devices (and remove it from fixed vol devices). Check whether device is full volume when adjusting volume: - don't show UI - don't check whether volume index changed When setting stream volume and device is full volume: don't change volume index. This change enables plugging the Android TV device to non-CEC devices and have variable volume with UI, and to CEC devices with full volume behavior. Bug: 130830042 Test: change volume on device, verify command goes to CEC with "adb shell dumpsys hdmi_control" Change-Id: I92bc3f7a13e3cf04b45d6c2cf8a49c0eac0657c0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions