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

Commit 50702355 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android Git Automerger
Browse files

am 5d3ef571: am a1454529: Merge "Dont enable Wi-Fi if it\'s not toggleable in flight mode"

* commit '5d3ef571':
  Dont enable Wi-Fi if it's not toggleable in flight mode
parents 29bed78d 5d3ef571
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ public class WifiEnabler implements CompoundButton.OnCheckedChangeListener {
            Toast.makeText(mContext, R.string.wifi_in_airplane_mode, Toast.LENGTH_SHORT).show();
            // Reset switch to off. No infinite check/listenenr loop.
            buttonView.setChecked(false);
            return;
        }

        // Disable tethering if enabling Wifi