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

Commit e30aacc2 authored by Benergy Meenan Ravuri's avatar Benergy Meenan Ravuri Committed by Linux Build Service Account
Browse files

IMS: Add config flag to map anonymous users to restricted

Add a configuration flag to map anonymous users to
presentation restricted

Change-Id: I568fb0acb70f2bfe98a15aa63ca6daab1dda79d2
CRs-Fixed: 964459
parent 290ced8b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -736,6 +736,13 @@ public class CarrierConfigManager {
     */
    public static final String KEY_PROTOCOL_ERRORS_PERM_FAILURE = "protocol_errors_perm_failure";

    /**
     * Key that determines if anonymous users to be mapped to presentation restricted
     * @hide
     */
    public static final String KEY_MAP_ANONYMOUS_TO_RESTRICTED_BOOL =
            "carrier_map_anonymous_to_restricted";

    /** The default value for every variable. */
    private final static PersistableBundle sDefaults;

@@ -880,6 +887,7 @@ public class CarrierConfigManager {
        // Used for Sim card State detection app
        sDefaults.putStringArray(KEY_SIM_PROVISIONING_STATUS_DETECTION_CARRIER_APP_STRING_ARRAY,
                null);
        sDefaults.putBoolean(KEY_MAP_ANONYMOUS_TO_RESTRICTED_BOOL, true);
    }

    /**