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

Commit ffd4583e authored by pkanwar's avatar pkanwar
Browse files

Add notification delay for when the user needs cannot

register to a network and needs to be notified. Merged from NYC.

BUG: 28572539
Test: n/a
Change-Id: I4eae9bacda9c159446f75f5bee73659af960e1a7
parent d202a960
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1130,6 +1130,14 @@ public class CarrierConfigManager {
     */
    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. */
    private final static PersistableBundle sDefaults;

@@ -1331,6 +1339,7 @@ public class CarrierConfigManager {
        sDefaults.putBoolean(KEY_STK_DISABLE_LAUNCH_BROWSER_BOOL, false);
        sDefaults.putBoolean(KEY_PERSIST_LPP_MODE_BOOL, false);
        sDefaults.putStringArray(KEY_CARRIER_WIFI_STRING_ARRAY, null);
        sDefaults.putInt(KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT, -1);
    }

    /**