Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 90dbfdf7 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

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
parent b17b60c3
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