Loading telephony/java/android/telephony/CarrierConfigManager.java 100644 → 100755 +13 −0 Original line number Original line Diff line number Diff line Loading @@ -2653,6 +2653,18 @@ public class CarrierConfigManager { */ */ public static final String KEY_USE_USIM_BOOL = "use_usim_bool"; public static final String KEY_USE_USIM_BOOL = "use_usim_bool"; /** * Determines whether the carrier wants to cancel the cs reject notification automatically * when the voice registration state changes. * If true, the notification will be automatically removed * when the voice registration state changes. * If false, the notification will persist until the user dismisses it, * the SIM is removed, or the device is rebooted. * @hide */ public static final String KEY_AUTO_CANCEL_CS_REJECT_NOTIFICATION = "carrier_auto_cancel_cs_notification"; /** The default value for every variable. */ /** The default value for every variable. */ private final static PersistableBundle sDefaults; private final static PersistableBundle sDefaults; Loading Loading @@ -3039,6 +3051,7 @@ public class CarrierConfigManager { }); }); sDefaults.putStringArray(KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY, new String[0]); sDefaults.putStringArray(KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY, new String[0]); sDefaults.putBoolean(KEY_USE_USIM_BOOL, false); sDefaults.putBoolean(KEY_USE_USIM_BOOL, false); sDefaults.putBoolean(KEY_AUTO_CANCEL_CS_REJECT_NOTIFICATION, false); } } /** /** Loading Loading
telephony/java/android/telephony/CarrierConfigManager.java 100644 → 100755 +13 −0 Original line number Original line Diff line number Diff line Loading @@ -2653,6 +2653,18 @@ public class CarrierConfigManager { */ */ public static final String KEY_USE_USIM_BOOL = "use_usim_bool"; public static final String KEY_USE_USIM_BOOL = "use_usim_bool"; /** * Determines whether the carrier wants to cancel the cs reject notification automatically * when the voice registration state changes. * If true, the notification will be automatically removed * when the voice registration state changes. * If false, the notification will persist until the user dismisses it, * the SIM is removed, or the device is rebooted. * @hide */ public static final String KEY_AUTO_CANCEL_CS_REJECT_NOTIFICATION = "carrier_auto_cancel_cs_notification"; /** The default value for every variable. */ /** The default value for every variable. */ private final static PersistableBundle sDefaults; private final static PersistableBundle sDefaults; Loading Loading @@ -3039,6 +3051,7 @@ public class CarrierConfigManager { }); }); sDefaults.putStringArray(KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY, new String[0]); sDefaults.putStringArray(KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY, new String[0]); sDefaults.putBoolean(KEY_USE_USIM_BOOL, false); sDefaults.putBoolean(KEY_USE_USIM_BOOL, false); sDefaults.putBoolean(KEY_AUTO_CANCEL_CS_REJECT_NOTIFICATION, false); } } /** /** Loading