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

Commit 615ca283 authored by Minoru Sakuma's avatar Minoru Sakuma Committed by Hall Liu
Browse files

Add a new carrier config to show the WFC location privacy policy UI

Controls whether to show the privacy policy prompt message before
opening Wi-Fi call settings.

Test: manual - Passed make build
Bug: 67872298

Change-Id: I58df76ae97b54009b55a7a78fcaec95cd9b27ca6
Merged-In: I58df76ae97b54009b55a7a78fcaec95cd9b27ca6
parent dedc2714
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2503,6 +2503,14 @@ public class CarrierConfigManager {
    public static final String KEY_CDMA_ENHANCED_ROAMING_INDICATOR_FOR_HOME_NETWORK_INT_ARRAY =
            "cdma_enhanced_roaming_indicator_for_home_network_int_array";

    /**
     * Determines whether wifi calling location privacy policy is shown.
     *
     * @hide
     */
    public static final String KEY_SHOW_WFC_LOCATION_PRIVACY_POLICY_BOOL =
            "show_wfc_location_privacy_policy_bool";

    /**
     * This configuration allow the system UI to display different 5G icon for different 5G status.
     *
@@ -2913,6 +2921,7 @@ public class CarrierConfigManager {
                        1 /* Roaming Indicator Off */
                });
        sDefaults.putStringArray(KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY, new String[0]);
        sDefaults.putBoolean(KEY_SHOW_WFC_LOCATION_PRIVACY_POLICY_BOOL, true);
        sDefaults.putString(KEY_5G_ICON_CONFIGURATION_STRING,
                "connected_mmwave:None,connected:5G,not_restricted:None,restricted:None");
        sDefaults.putBoolean(KEY_AUTO_CANCEL_CS_REJECT_NOTIFICATION, false);