我正在尝试调试Android Nougat的WifiConnectivityManager的问题。基本上只是将WiFi设置更改为禁用。
从ADB启用WiFi到禁用WiFi的那一刻,这些都是ADB的日志:
05-19 00:01:45.769 1214 1547 I SendBroadcastPermission: action:android.net.wifi.supplicant.STATE_CHANGE, mPermissionType:0
05-19 00:01:45.775 1675 1675 I NetworkSpeedManagerEx: mIsNetworkSpeedEnabled = false, mIsAirplaneMode = false, mIsWifiConnected = false, mIsHasIccCard = true, mIsNetworkValid = true, mIsDataSwitchEnabled = false
05-19 00:01:45.780 1214 1542 I SendBroadcastPermission: action:com.android.server.action.NETWORK_STATS_UPDATED, mPermissionType:0
05-19 00:01:45.780 1214 1547 E WifiScanner: listener cannot be found
05-19 00:01:45.780 1214 1547 I WifiConnectivityManager: Set WiFi disabled
有人可以看一下日志,并给我指出导致手机禁用WiFi的原因吗?
谢谢。