forked from jens/Automation
wifi trigger, memorize most recent ssid
This commit is contained in:
parent
62c97832a9
commit
d5ce04f80b
@ -41,6 +41,7 @@ public class WifiBroadcastReceiver extends BroadcastReceiver
|
||||
if(newWifiSsid.startsWith("\"") && newWifiSsid.endsWith("\""))
|
||||
newWifiSsid = newWifiSsid.substring(1, newWifiSsid.length()-1);
|
||||
|
||||
if(newWifiSsid.length() > 0)
|
||||
WifiBroadcastReceiver.lastWifiSsid = newWifiSsid;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user