From a545bf8a2c8571358f296f4555c58f2aa782cc32 Mon Sep 17 00:00:00 2001 From: Gerome Bochmann Date: Tue, 24 Feb 2015 21:04:15 +0100 Subject: [PATCH] Fixed API lvl < 17 quotation mark issue and wifi deactivation on CompoundButton isChecked==true --- app/src/main/java/me/datenknoten/tueroeffner/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/me/datenknoten/tueroeffner/MainActivity.java b/app/src/main/java/me/datenknoten/tueroeffner/MainActivity.java index 090b22f..a37c1f8 100644 --- a/app/src/main/java/me/datenknoten/tueroeffner/MainActivity.java +++ b/app/src/main/java/me/datenknoten/tueroeffner/MainActivity.java @@ -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