1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 03:11:30 +00:00

Log SSID whitelist for better troubleshooting of #700

This commit is contained in:
Martin Carpella 2016-08-11 21:39:43 +02:00
parent dd7966a228
commit 8d152dc200

View file

@ -269,10 +269,10 @@ public class SyncthingService extends Service implements
String ssid = mDeviceStateHolder.getWifiSsid();
if (ssid != null) {
if (ssids.contains(ssid)) {
Log.d(TAG, "SSID " + ssid + " found in whitelist");
Log.d(TAG, "SSID [" + ssid + "] found in whitelist: " + ssids);
return true;
}
Log.i(TAG, "SSID " + ssid + " not whitelisted");
Log.i(TAG, "SSID [" + ssid + "] not whitelisted: " + ssids);
return false;
} else {
// Don't know the SSID (yet) (should not happen?!), so not allowing