summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-10-25 17:45:54 +0200
committercyBerta <cyberta@riseup.net>2019-10-25 17:45:54 +0200
commit54f2d51e71b843ad7baeca172428291eb55e63a9 (patch)
tree20765fddafa0809407233cfd2bf26e9cfb0b9a7f /app/src/main/java
parent761b604e14b14a86a357816b266e77d458137c83 (diff)
increase threshold until EipStatus is set to DISCONNETED or BLOCKING - reduce UI flickering
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/EipStatus.java2
1 files changed, 1 insertions, 1 deletions
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();
}