summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/EipStatus.java4
1 files changed, 2 insertions, 2 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 b1d7c994..ddf152d2 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/EipStatus.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/EipStatus.java
@@ -47,7 +47,7 @@ public class EipStatus extends Observable implements VpnStatus.StateListener {
* openvpn.
*/
private ConnectionStatus vpn_level = ConnectionStatus.LEVEL_NOTCONNECTED;
- private EipLevel current_eip_level = EipLevel.DISCONNECTED;
+ private static EipLevel current_eip_level = EipLevel.DISCONNECTED;
int last_error_line = 0;
private String state, log_message;
@@ -126,7 +126,7 @@ public class EipStatus extends Observable implements VpnStatus.StateListener {
new DelayTask(current_status.getLevel(), futureLevel).execute();
}
- private class DelayTask extends AsyncTask<Void, Void, Void> {
+ private static class DelayTask extends AsyncTask<Void, Void, Void> {
private final ConnectionStatus currentLevel;
private final ConnectionStatus futureLevel;