diff --git a/app/src/main/java/me/datenknoten/tueroeffner/DerivBroadcastReceiver.java b/app/src/main/java/me/datenknoten/tueroeffner/DerivBroadcastReceiver.java index 8d9a2d6..ee42c68 100644 --- a/app/src/main/java/me/datenknoten/tueroeffner/DerivBroadcastReceiver.java +++ b/app/src/main/java/me/datenknoten/tueroeffner/DerivBroadcastReceiver.java @@ -38,7 +38,7 @@ public class DerivBroadcastReceiver extends BroadcastReceiver { // Build.VERSION.SDK_INT is incompatible with device API lvl < 4 use String.toInteger(Build.VERSION.SDK) or maybe find some other way ^_^ if (Build.VERSION.SDK_INT > 17){ - targetSSID.replace("\"", ""); + ssid = ssid.replace("\"", ""); } if (ssid.equals(targetSSID)){