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

Commit 853d8f68 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Add alternative EXTRA_CALL_RAT_TYPE definition for noncompliant modems.

Some modems use a lowercase version of this extra, which is not correct.
Adding an alternate definition so ImsCall can still determine the radio
type.

Bug: 28933314
Change-Id: I61d13a2aa447877e1c89c3ae474a8614c29492a1
parent 17ca9043
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -205,6 +205,14 @@ public class ImsCallProfile implements Parcelable {
     */
    public static final String EXTRA_CALL_RAT_TYPE = "CallRadioTech";

    /**
     * Similar to {@link #EXTRA_CALL_RAT_TYPE}, except with a lowercase 'c'.  Used to ensure
     * compatibility with modems that are non-compliant with the {@link #EXTRA_CALL_RAT_TYPE}
     * extra key.  Should be removed when the non-compliant modems are fixed.
     * @hide
     */
    public static final String EXTRA_CALL_RAT_TYPE_ALT = "callRadioTech";

    public int mServiceType;
    public int mCallType;
    public int mRestrictCause = CALL_RESTRICT_CAUSE_NONE;