Merge "Rename Wi-Fi switch controller's key" into sc-dev am: d29e28ed5b

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14878870

Change-Id: I8b0c5bc5132c84ab5c21b0490ea86f9dffbce35e
This commit is contained in:
TreeHugger Robot
2021-06-07 09:02:08 +00:00
committed by Automerger Merge Worker
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@
android:layout="@layout/preference_category_no_label"/>
<com.android.settingslib.RestrictedSwitchPreference
android:key="wifi_switch"
android:key="main_toggle_wifi"
android:title="@string/wifi"
android:summary="@string/wifi_switch_summary"
settings:keywords="@string/keywords_wifi"/>

View File

@@ -35,7 +35,7 @@ import com.android.settingslib.core.AbstractPreferenceController;
public class WifiSwitchPreferenceController extends AbstractPreferenceController implements
LifecycleObserver {
public static final String KEY = "wifi_switch";
public static final String KEY = "main_toggle_wifi";
private RestrictedSwitchPreference mPreference;