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

Commit 7e944a68 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Use new strings for Wi-Fi hotspot toggle specific scenario" am: e7e0e5b8

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

Change-Id: I818f8b75cd145db4ba448923d47d7bc3f0a807cd
parents 68588d7c e7e0e5b8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -129,6 +129,9 @@ public class WifiTetherSettings extends RestrictedDashboardFragment
        // SettingsActivity as base for all preference fragments.
        final SettingsActivity activity = (SettingsActivity) getActivity();
        final SwitchBar switchBar = activity.getSwitchBar();
        switchBar.setSwitchBarText(
                com.android.settingslib.R.string.wifi_hotspot_switch_on_text,
                com.android.settingslib.R.string.wifi_hotspot_switch_off_text);
        mSwitchBarController = new WifiTetherSwitchBarController(activity, switchBar);
        getSettingsLifecycle().addObserver(mSwitchBarController);
        switchBar.show();