From 54f2d51e71b843ad7baeca172428291eb55e63a9 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 25 Oct 2019 17:45:54 +0200 Subject: increase threshold until EipStatus is set to DISCONNETED or BLOCKING - reduce UI flickering --- app/src/main/java/se/leap/bitmaskclient/eip/EipStatus.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/EipStatus.java b/app/src/main/java/se/leap/bitmaskclient/eip/EipStatus.java index 69fc483a..684bd646 100644 --- a/app/src/main/java/se/leap/bitmaskclient/eip/EipStatus.java +++ b/app/src/main/java/se/leap/bitmaskclient/eip/EipStatus.java @@ -154,7 +154,7 @@ public class EipStatus extends Observable implements VpnStatus.StateListener { } protected Void doInBackground(Void... levels) { try { - Thread.sleep(1000); + Thread.sleep(2000); } catch (InterruptedException e) { Thread.interrupted(); } -- cgit v1.2.3