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

Commit aaff44c8 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Don't allow wifi tethering when running monkeys.

Bug: 5607825

Remove the wifi access point settings and wifi tethering checkbox when
monkeys are running.

Change-Id: I64b930ddb791013a08c178561fe29130f1f0e4b8
parent da68fd46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ public class TetherSettings extends SettingsPreferenceFragment
            getPreferenceScreen().removePreference(mUsbTether);
        }

        if (wifiAvailable) {
        if (wifiAvailable && !Utils.isMonkeyRunning()) {
            mWifiApEnabler = new WifiApEnabler(activity, mEnableWifiAp);
            initWifiTethering();
        } else {