From 1f5690245d7281bb18ef53987b7c1b420bcff3b4 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Tue, 24 Feb 2015 21:26:57 +0100 Subject: [PATCH] Remove the quotes in the ssid. --- .../java/me/datenknoten/tueroeffner/DerivBroadcastReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)){