diff --git a/aware-core/src/main/java/com/aware/WiFi.java b/aware-core/src/main/java/com/aware/WiFi.java index 4bed8820f..21a72a3c6 100644 --- a/aware-core/src/main/java/com/aware/WiFi.java +++ b/aware-core/src/main/java/com/aware/WiFi.java @@ -238,6 +238,8 @@ public String call() throws Exception { mContext.sendBroadcast(detectedAP); } + if (Aware.DEBUG) Log.d(TAG, ACTION_AWARE_WIFI_SCAN_ENDED); + Intent scanEnd = new Intent(ACTION_AWARE_WIFI_SCAN_ENDED); mContext.sendBroadcast(scanEnd); @@ -264,6 +266,7 @@ protected void onHandleIntent(Intent intent) { if (intent.getAction().equals(WiFi.ACTION_AWARE_WIFI_REQUEST_SCAN)) { if (wifiManager.isWifiEnabled()) { + if (Aware.DEBUG) Log.d(TAG, ACTION_AWARE_WIFI_SCAN_STARTED); Intent scanStart = new Intent(ACTION_AWARE_WIFI_SCAN_STARTED); sendBroadcast(scanStart); wifiManager.startScan();