Fixed API lvl < 17 quotation mark issue and wifi deactivation on CompoundButton isChecked==true
This commit is contained in:
parent
f7097d0cb5
commit
a545bf8a2c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue