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

Commit b08061d1 authored by Jack Yu's avatar Jack Yu Committed by Automerger Merge Worker
Browse files

Merge "Added basic network request handling" am: f6454716

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1988650

Change-Id: I2f373c1c13be40d312a2e275cc586f448c2e4620
parents 5eb36db9 f6454716
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -5445,6 +5445,18 @@ public class CarrierConfigManager {
     */
    public static final String KEY_APN_PRIORITY_STRING_ARRAY = "apn_priority_string_array";

    /**
     * Network capability priority for determine the satisfy order in telephony. This is used when
     * the network only allows single PDN. The priority is from the lowest 0 to the highest 100.
     * The long-lived network request usually has the lowest priority. This allows other short-lived
     * requests like MMS requests to be established. Emergency request always has the highest
     * priority.
     *
     * // TODO: Remove KEY_APN_PRIORITY_STRING_ARRAY
     * @hide
     */
    public static final String KEY_TELEPHONY_NETWORK_CAPABILITY_PRIORITIES_STRING_ARRAY =
            "telephony_network_capability_priorities_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
@@ -6213,6 +6225,11 @@ public class CarrierConfigManager {
                "enterprise:0", "default:1", "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_TELEPHONY_NETWORK_CAPABILITY_PRIORITIES_STRING_ARRAY, new String[] {
                        "eims:90", "supl:80", "mms:70", "xcap:70", "cbs:50", "mcx:50", "fota:50",
                        "ims:40", "dun:30", "enterprise:20", "internet:20"
                });
        sDefaults.putStringArray(KEY_MISSED_INCOMING_CALL_SMS_PATTERN_STRING_ARRAY, new String[0]);
        sDefaults.putBoolean(KEY_DISABLE_DUN_APN_WHILE_ROAMING_WITH_PRESET_APN_BOOL, false);
        sDefaults.putString(KEY_DEFAULT_PREFERRED_APN_NAME_STRING, "");