Fixed API lvl < 17 quotation mark issue and wifi deactivation on CompoundButton isChecked==true

This commit is contained in:
Gerome Bochmann 2015-02-24 21:04:15 +01:00
parent f7097d0cb5
commit a545bf8a2c

View file

@ -125,7 +125,7 @@ public class MainActivity extends ActionBarActivity {
});
Switch s = (Switch) rootView.findViewById(R.id.switchWLAN);
//
if (s != null) {
s.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override