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

Commit cd97aa33 authored by Mir Noshin Jahan's avatar Mir Noshin Jahan
Browse files

Add Settings contract keys for adaptive Wi-Fi and mobile network toggle switches

Test: Build pass
Bug: 393645580
Flag: com.android.settings.flags.enable_nested_toggle_switches

Change-Id: Ia9b658519e7fae7304871c2eb48e07dc9f1620c2
parent c8d9ab2c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -69,6 +69,12 @@ const val KEY_SCREEN_ATTENTION = "screen_attention"
/** Contract key for the "Use adaptive connectivity" setting. */
const val KEY_ADAPTIVE_CONNECTIVITY = "adaptive_connectivity"

/** Contract key for the "Auto-switch Wi-Fi to Cellular" setting. */
const val KEY_ADAPTIVE_WIFI_SCORER = "adaptive_wifi_scorer"

/** Contract key for the " Auto-switch mobile network for battery life" setting. */
const val KEY_ADAPTIVE_MOBILE_NETWORK = "adaptive_mobile_network"

/** Contract key for the "WiFi hotspot" setting. */
const val KEY_WIFI_HOTSPOT = "enable_wifi_ap"