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

Commit d7efb0a5 authored by Shubang Lu's avatar Shubang Lu Committed by shubang
Browse files

Add property to forward volume keys when system audio is off

cherry-pick ag/4668430

Change-Id: I650bf974ed976d2d0083ab5b37735f297de3cd65
Fix: 80297919
Test: make
parent 5488754d
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -319,6 +319,15 @@ final class Constants {
    static final String PROPERTY_SYSTEM_AUDIO_DEVICE_ARC_PORT =
            "persist.sys.hdmi.property_sytem_audio_device_arc_port";

    /**
     * Property to indicate if a CEC audio device should forward volume keys when system audio mode
     * is off.
     *
     * <p>Default is false.
     */
    static final String PROPERTY_CEC_AUDIO_DEVICE_FORWARD_VOLUME_KEYS_SYSTEM_AUDIO_MODE_OFF =
            "persist.sys.hdmi.property_cec_audio_device_forward_volume_keys_system_audio_mode_off";

    /**
     * Property to strip local audio of amplifier and use local speaker
     * when TV does not support system audio mode.