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

Commit dc6608eb authored by Gil Cukierman's avatar Gil Cukierman
Browse files

Deprecate CarrierConfigManager.KEY_HIDE_ENABLE_2G

Bug: b/250952448
Test: Marking for deprecation. Tests still pass.
Change-Id: Ic84576d33476cbf5ab1f96feaa13b4db897e75c1
parent f760323d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41322,7 +41322,7 @@ package android.telephony {
    field public static final String KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY = "gsm_roaming_networks_string_array";
    field public static final String KEY_HAS_IN_CALL_NOISE_SUPPRESSION_BOOL = "has_in_call_noise_suppression_bool";
    field public static final String KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL = "hide_carrier_network_settings_bool";
    field public static final String KEY_HIDE_ENABLE_2G = "hide_enable_2g_bool";
    field @Deprecated public static final String KEY_HIDE_ENABLE_2G = "hide_enable_2g_bool";
    field public static final String KEY_HIDE_ENHANCED_4G_LTE_BOOL = "hide_enhanced_4g_lte_bool";
    field public static final String KEY_HIDE_IMS_APN_BOOL = "hide_ims_apn_bool";
    field public static final String KEY_HIDE_LTE_PLUS_DATA_ICON_BOOL = "hide_lte_plus_data_icon_bool";
+5 −0
Original line number Diff line number Diff line
@@ -8472,7 +8472,12 @@ public class CarrierConfigManager {
     *
     * Used to trade privacy/security against potentially reduced carrier coverage for some
     * carriers.
     *
     * @deprecated Future versions of Android will disallow carriers from hiding this toggle
     * because disabling 2g is a security feature that users should always have access to at
     * their discretion.
     */
    @Deprecated
    public static final String KEY_HIDE_ENABLE_2G = "hide_enable_2g_bool";

    /**