summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/pluggableTransports/Shapeshifter.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/pluggableTransports/Shapeshifter.java b/app/src/main/java/se/leap/bitmaskclient/pluggableTransports/Shapeshifter.java
index c7893249..828b90ba 100644
--- a/app/src/main/java/se/leap/bitmaskclient/pluggableTransports/Shapeshifter.java
+++ b/app/src/main/java/se/leap/bitmaskclient/pluggableTransports/Shapeshifter.java
@@ -27,7 +27,7 @@ import java.util.Observer;
import de.blinkt.openvpn.core.ConnectionStatus;
import de.blinkt.openvpn.core.VpnStatus;
import se.leap.bitmaskclient.eip.EipStatus;
-import shapeShifter.ShapeShifter;
+import shapeShifter.ShapeShifter_;
public class Shapeshifter implements Observer {
@@ -37,11 +37,11 @@ public class Shapeshifter implements Observer {
private static final int RETRY_TIME = 4000;
private static final String TAG = Shapeshifter.class.getSimpleName();
- private ShapeShifter shapeShifter;
+ private final ShapeShifter_ shapeShifter;
private boolean isErrorHandling;
private boolean noNetwork;
private int retry = 0;
- private Handler reconnectHandler;
+ private final Handler reconnectHandler;
public class ShapeshifterLogger implements shapeShifter.Logger {
@Override
@@ -61,7 +61,7 @@ public class Shapeshifter implements Observer {
}
public Shapeshifter(Obfs4Options options) {
- shapeShifter = new ShapeShifter();
+ shapeShifter = new ShapeShifter_();
shapeShifter.setLogger(new ShapeshifterLogger());
setup(options);
Looper.prepare();