* commit '5d3ef5715c43ca9c3c969deaf25c76a7d3e27624': 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