Remove the quotes in the ssid.
This commit is contained in:
parent
7ad43ef49c
commit
1f5690245d
1 changed files with 1 additions and 1 deletions
|
@ -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)){
|
||||||
|
|
Reference in a new issue