Commit 88c59040 authored by Sebastian Kürten's avatar Sebastian Kürten
Browse files

On API 28- don't halt if WifiP2p is available before Wifi

parent 89d50abf
......@@ -62,7 +62,7 @@ class ConditionManagerImpl extends ConditionManager {
// in progress toward the requested state".
if (wifiManager.setWifiEnabled(true)) {"Enabled wifi");
return false;
return wifiP2pEnabled;
// Wifi is not enabled and we can't seem to enable it, so ask the user
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment