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

Commit 964df2b0 authored by Daniel Bright's avatar Daniel Bright Committed by Automerger Merge Worker
Browse files

Merge "Add CarrierConfig key to customize apn priority" into rvc-dev am:...

Merge "Add CarrierConfig key to customize apn priority" into rvc-dev am: 2a639e97 am: 6934c5ad am: 17b1adff

Change-Id: I0638452d7677033d76e02e235090c5409467082d
parents 05fe4c09 17b1adff
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -3684,6 +3684,17 @@ public class CarrierConfigManager {
    public static final String KEY_MISSED_INCOMING_CALL_SMS_ORIGINATOR_STRING_ARRAY =
            "missed_incoming_call_sms_originator_string_array";


    /**
     * String array of Apn Type configurations.
     * The entries should be of form "APN_TYPE_NAME:priority".
     * priority is an integer that is sorted from highest to lowest.
     * example: cbs:5
     *
     * @hide
     */
    public static final String KEY_APN_PRIORITY_STRING_ARRAY = "apn_priority_string_array";

    /**
     * The patterns of missed incoming call sms. This is the regular expression used for
     * matching the missed incoming call's date, time, and caller id. The pattern should match
@@ -4219,6 +4230,10 @@ public class CarrierConfigManager {
        sDefaults.putLong(KEY_DATA_SWITCH_VALIDATION_MIN_GAP_LONG, TimeUnit.DAYS.toMillis(1));
        sDefaults.putStringArray(KEY_MISSED_INCOMING_CALL_SMS_ORIGINATOR_STRING_ARRAY,
                new String[0]);
        sDefaults.putStringArray(KEY_APN_PRIORITY_STRING_ARRAY, new String[] {
                "default:0", "mms:2", "supl:2", "dun:2", "hipri:3", "fota:2",
                "ims:2", "cbs:2", "ia:2", "emergency:2", "mcx:3", "xcap:3"
        });
        sDefaults.putStringArray(KEY_MISSED_INCOMING_CALL_SMS_PATTERN_STRING_ARRAY, new String[0]);
    }