Merge "Add extra debug logging to WifiTracker." into oc-dev

This commit is contained in:
TreeHugger Robot
2017-05-26 02:47:51 +00:00
committed by Android (Google) Code Review

View File

@@ -250,10 +250,17 @@ public class WifiTracker {
mLastNetworkInfo = mConnectivityManager.getNetworkInfo(mWifiManager.getCurrentNetwork());
updateAccessPointsLocked();
if (DBG) {
Log.d(TAG, "force update - internal access point list:\n" + mInternalAccessPoints);
}
// Synchronously copy access points
mMainHandler.removeMessages(MainHandler.MSG_ACCESS_POINT_CHANGED);
mMainHandler.handleMessage(
Message.obtain(mMainHandler, MainHandler.MSG_ACCESS_POINT_CHANGED));
if (DBG) {
Log.d(TAG, "force update - external access point list:\n" + mAccessPoints);
}
}
}