Remove the quotes in the ssid.

This commit is contained in:
Tim Schumacher 2015-02-24 21:26:57 +01:00
parent 7ad43ef49c
commit 1f5690245d

View file

@ -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 ^_^ // 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){ if (Build.VERSION.SDK_INT > 17){
targetSSID.replace("\"", ""); ssid = ssid.replace("\"", "");
} }
if (ssid.equals(targetSSID)){ if (ssid.equals(targetSSID)){