Skip to content

Commit

Permalink
TODO added
Browse files Browse the repository at this point in the history
  • Loading branch information
umer0586 authored Dec 1, 2022
1 parent a971052 commit a5df9c0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ private void startServer()
Log.d(TAG, "startServer() called");

WifiManager wifiManager = (WifiManager) getContext().getApplicationContext().getSystemService(getContext().WIFI_SERVICE);


// TODO: ignore wifi check when user has enabled adb option
if(!wifiManager.isWifiEnabled())
{
showMessage("Please enable Wi-Fi");
Expand Down Expand Up @@ -290,4 +291,4 @@ else if( context != null)
Log.e(TAG, "showMessage() cannot display message as getView() or getContext() returned null" );
}

}
}

0 comments on commit a5df9c0

Please sign in to comment.