From 08b40e81c62420e977e82189482fc07c0d6ace31 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 14 May 2023 23:00:00 +0200 Subject: menu / settings --- app/java/src/WifiListenerReceiver.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/java/src/WifiListenerReceiver.java') diff --git a/app/java/src/WifiListenerReceiver.java b/app/java/src/WifiListenerReceiver.java index ca22965..d34df2b 100644 --- a/app/java/src/WifiListenerReceiver.java +++ b/app/java/src/WifiListenerReceiver.java @@ -25,7 +25,7 @@ public class WifiListenerReceiver extends BroadcastReceiver // start if (networkInfo.getState().equals(NetworkInfo.State.CONNECTED)) { // wait a few moments for wifi to be fully there - (new Handler()).postDelayed(new Runnable() { + /* (new Handler()).postDelayed(new Runnable() { @Override public void run() { WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); @@ -35,7 +35,7 @@ public class WifiListenerReceiver extends BroadcastReceiver context.startService(dnsProxyService.setAction(DNSProxyService.ACTION_START)); } - }, 1000); + }, 1000); */ } // stop -- cgit v1.2.3