Skip to content

Commit

Permalink
Do not turn on wifi
Browse files Browse the repository at this point in the history
  • Loading branch information
DoubangoTelecom committed Dec 20, 2017
1 parent fc91593 commit 40459d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions android-ngn-stack/android-ngn-stack.iml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,8 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shaders" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ public boolean start() {
return false;
}

mWifiManager.setWifiEnabled(true);
// This really turn on Wifi even if AirPlane mode is activated, not what we want
// mWifiManager.setWifiEnabled(true);

if (mNetworkWatcher == null){
IntentFilter intentNetWatcher = new IntentFilter();
Expand Down

0 comments on commit 40459d2

Please sign in to comment.