DO NOT MERGE: Add notification delay for when the user needs cannot register to a network and needs to be notified.

am: 34be302f2a

Change-Id: I18f1ed3a4e8b6a923e5733fe38566d4484d1c310
This commit is contained in:
pkanwar
2016-12-06 20:41:50 +00:00
committed by android-build-merger

View File

@@ -1063,6 +1063,13 @@ public class CarrierConfigManager {
*/ */
public static final String KEY_CARRIER_WIFI_STRING_ARRAY = "carrier_wifi_string_array"; public static final String KEY_CARRIER_WIFI_STRING_ARRAY = "carrier_wifi_string_array";
/**
* Time delay (in ms) after which we show the notification to switch the preferred network.
* @hide
*/
public static final String KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT =
"network_notification_delay_int";
/** The default value for every variable. */ /** The default value for every variable. */
private final static PersistableBundle sDefaults; private final static PersistableBundle sDefaults;
@@ -1255,6 +1262,7 @@ public class CarrierConfigManager {
sDefaults.putBoolean(KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, false); sDefaults.putBoolean(KEY_EDITABLE_WFC_ROAMING_MODE_BOOL, false);
sDefaults.putBoolean(KEY_STK_DISABLE_LAUNCH_BROWSER_BOOL, false); sDefaults.putBoolean(KEY_STK_DISABLE_LAUNCH_BROWSER_BOOL, false);
sDefaults.putStringArray(KEY_CARRIER_WIFI_STRING_ARRAY, null); sDefaults.putStringArray(KEY_CARRIER_WIFI_STRING_ARRAY, null);
sDefaults.putInt(KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT, -1);
} }
/** /**