Is the method WifiManager.setWifiEnabled synchronous?
<p>I had to do something. Just when Wi-Fi was enabled, so I called method <code>WifiManager.setWifiEnabled()</code>, when the method returns, does Wi-Fi state change at the same time? 
If not, how can I trace the change of Wi-Fi state? </p>
