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
This commit is contained in:
Minoru Sakuma
2017-10-25 15:52:31 +09:00
committed by Hall Liu
parent dedc27142d
commit 615ca283b2

View File

@@ -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);