From a5df9c0461d515e23c3f23547a4cbb832b2e645b Mon Sep 17 00:00:00 2001 From: Umer Farooq <35717992+umer0586@users.noreply.github.com> Date: Thu, 1 Dec 2022 21:56:23 +0500 Subject: [PATCH] TODO added --- .../main/java/github/umer0586/fragments/ServerFragment.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/github/umer0586/fragments/ServerFragment.java b/app/src/main/java/github/umer0586/fragments/ServerFragment.java index 8cfd9a1..44ee431 100644 --- a/app/src/main/java/github/umer0586/fragments/ServerFragment.java +++ b/app/src/main/java/github/umer0586/fragments/ServerFragment.java @@ -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"); @@ -290,4 +291,4 @@ else if( context != null) Log.e(TAG, "showMessage() cannot display message as getView() or getContext() returned null" ); } -} \ No newline at end of file +}