CarrierConfigManager.KeyHideEnable2g Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls whether the user can use the "Allow 2G" toggle in Settings.
[Android.Runtime.Register("KEY_HIDE_ENABLE_2G", ApiSince=31)]
public const string KeyHideEnable2g;
[<Android.Runtime.Register("KEY_HIDE_ENABLE_2G", ApiSince=31)>]
val mutable KeyHideEnable2g : string
Field Value
- Attributes
Remarks
Controls whether the user can use the "Allow 2G" toggle in Settings.
If true then the toggle is disabled (i.e. grayed out).
Used to trade privacy/security against potentially reduced carrier coverage for some carriers.
Starting in Android 15 (API level 35), setting this key does not change the Settings menu behavior.
Java documentation for android.telephony.CarrierConfigManager.KEY_HIDE_ENABLE_2G.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.