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

Commit 325b64ce authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add carrier configuration for list of opportunistic carrier-ids associated with CBRS pSIM"

parents d1d21076 f63c1fdd
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -3717,6 +3717,17 @@ public class CarrierConfigManager {
    public static final String KEY_ESIM_MAX_DOWNLOAD_RETRY_ATTEMPTS_INT =
            "esim_max_download_retry_attempts_int";

    /**
     * List of opportunistic carrier-ids associated with CBRS Primary SIM. When CBRS pSIM is
     * inserted, opportunistic eSIM is download and this configuration is used for grouping pSIM
     * and opportunistic eSIM. Also when a new CBRS pSIM is inserted, old opportunistic eSIMs are
     * deleted using the carrier-ids in this configuration.
     *
     * @hide
     */
    public static final String KEY_OPPORTUNISTIC_CARRIER_IDS_INT_ARRAY =
            "opportunistic_carrier_ids_int_array";

    /**
     * Controls RSRP threshold at which OpportunisticNetworkService will decide whether
     * the opportunistic network is good enough for internet data.
@@ -5774,6 +5785,7 @@ public class CarrierConfigManager {
        sDefaults.putString(KEY_SMDP_SERVER_ADDRESS_STRING, "");
        sDefaults.putInt(KEY_ESIM_MAX_DOWNLOAD_RETRY_ATTEMPTS_INT, 5);
        sDefaults.putInt(KEY_ESIM_DOWNLOAD_RETRY_BACKOFF_TIMER_SEC_INT, 60);
        sDefaults.putIntArray(KEY_OPPORTUNISTIC_CARRIER_IDS_INT_ARRAY, new int[] {0});
        /* Default value is minimum RSRP level needed for SIGNAL_STRENGTH_GOOD */
        sDefaults.putInt(KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_RSRP_INT, -108);
        /* Default value is minimum RSRP level needed for SIGNAL_STRENGTH_MODERATE */