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

Commit 4a9fde17 authored by Hall Liu's avatar Hall Liu
Browse files

Move PhoneConstants constants to TelecomManager

Move the video-call related constants to TelecomManager since Telecom is
the only consumer.

Bug: 147845600
Bug: 146834818
Test: manually make a video call and verify audio route
Change-Id: I32ddaf6a237460bcf9431fee8a3f31c88d3e9361
parent c8fb6e0e
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -848,6 +848,17 @@ public class TelecomManager {
     */
    public static final int PRESENTATION_PAYPHONE = 4;


    /*
     * Values for the adb property "persist.radio.videocall.audio.output"
     */
    /** @hide */
    public static final int AUDIO_OUTPUT_ENABLE_SPEAKER = 0;
    /** @hide */
    public static final int AUDIO_OUTPUT_DISABLE_SPEAKER = 1;
    /** @hide */
    public static final int AUDIO_OUTPUT_DEFAULT = AUDIO_OUTPUT_ENABLE_SPEAKER;

    /** @hide */
    @Retention(RetentionPolicy.SOURCE)
    @IntDef(