Search code examples
google-nearbygoogle-nearby-connections

Wifi auto turn off after Nearby connection succeed in Android Go R


I got this log

2021-01-15 10:07:41.179 1004-1628/system_process I/WifiService: setWifiEnabled package=com.google.android.gms uid=10119 enable=false

It seems google services turn off my wifi after connection made. Please help, sorry for my bad english.


Solution

  • Some variants of hotspots require WiFi to be turned off before they can be started. Are you using STAR or POINT_TO_POINT? If so, that may be the reason.

    Nearby Connections will also revert WiFi to its original state upon disconnection if Connections happened to enable it during a connection attempt.