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

Commit dfa6de71 authored by Rekha Kumar's avatar Rekha Kumar Committed by Steve Kondik
Browse files

telephony: IMS changes for VoLTE and VT

- Add IMS phone type constant
- Add system property persist.radio.calls.on.ims.
  It is set to true if VoLTE/VT calls are supported,
  false otherwise.

Change-Id: I9b2ea0e58bd75598c519ff710a93d7667a9c7993
parent 5c4cd154
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ public class PhoneConstants {
    public static final int PHONE_TYPE_GSM = RILConstants.GSM_PHONE;
    public static final int PHONE_TYPE_CDMA = RILConstants.CDMA_PHONE;
    public static final int PHONE_TYPE_SIP = RILConstants.SIP_PHONE;
    public static final int PHONE_TYPE_IMS = RILConstants.IMS_PHONE;

    // Modes for LTE_ON_CDMA
    public static final int LTE_ON_CDMA_UNKNOWN = RILConstants.LTE_ON_CDMA_UNKNOWN;
+1 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ public interface RILConstants {
    int GSM_PHONE = 1;
    int CDMA_PHONE = 2;
    int SIP_PHONE  = 3;
    int IMS_PHONE = 4;

    int LTE_ON_CDMA_UNKNOWN = -1;
    int LTE_ON_CDMA_FALSE = 0;
+5 −0
Original line number Diff line number Diff line
@@ -194,6 +194,11 @@ public interface TelephonyProperties
     */
    static final String PROPERTY_TEST_CSIM = "persist.radio.test-csim";

    /**
     * Specify if Android supports VoLTE/VT calls on IMS
     */
    static final String CALLS_ON_IMS_ENABLED_PROPERTY = "persist.radio.calls.on.ims";

    /**
     * Ignore RIL_UNSOL_NITZ_TIME_RECEIVED completely, used for debugging/testing.
     */