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

Commit 4d46205c authored by Vidyakumar Athota's avatar Vidyakumar Athota Committed by Steve Kondik
Browse files

frameworks/base: Add support for QCHAT call.

- Add VSID for QCHAT.
- Add a key which can be used with getParameters()
to query all call states.

Change-Id: If7be9467013700b220c9b10c6236a99d56f7a8cc
parent 084877b1
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1510,6 +1510,10 @@ public class AudioManager {
     * @hide VSID for IMS call, Multimode.
     */
    public static final long IMS_VSID             = AudioSystem.IMS_VSID;
    /**
     * @hide VSID for QCHAT call.
     */
    public static final long QCHAT_VSID           = AudioSystem.QCHAT_VSID;


    /* Key used in setParameters for VSID and Call_state */
@@ -1523,6 +1527,11 @@ public class AudioManager {
     */
    public static final String CALL_STATE_KEY     = AudioSystem.CALL_STATE_KEY;

    /**
     * @hide Key for all_call_states used in getParameters.
     */
    public static final String ALL_CALL_STATES_KEY     = AudioSystem.ALL_CALL_STATES_KEY;


    /* Routing bits for setRouting/getRouting API */
    /**
+5 −0
Original line number Diff line number Diff line
@@ -108,6 +108,8 @@ public class AudioSystem
    public static final long VOICE2_VSID            = 0x10DC1000;
    /* @hide VSID for IMS Multimode */
    public static final long IMS_VSID               = 0x10C02000;
    /* @hide VSID for QCHAT */
    public static final long QCHAT_VSID             = 0x10803000;

    /* @hide Key for vsid used in setParameters */
    public static final String VSID_KEY             = "vsid";
@@ -115,6 +117,9 @@ public class AudioSystem
    /* @hide Key for call_state used in setParameters */
    public static final String CALL_STATE_KEY       = "call_state";

    /* @hide Key for all_call_states used in getParameters */
    public static final String ALL_CALL_STATES_KEY  = "all_call_states";

    /* Routing bits for the former setRouting/getRouting API */
    /** @deprecated */
    @Deprecated public static final int ROUTE_EARPIECE          = (1 << 0);