am 50702355
: am 5d3ef571
: am a1454529
: Merge "Dont enable Wi-Fi if it\'s not toggleable in flight mode"
* commit '50702355f23d5e270727018c2af7cc76a1bd91eb': Dont enable Wi-Fi if it's not toggleable in flight mode
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user