summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-09-30 16:08:57 +0200
committercyBerta <cyberta@riseup.net>2021-09-30 16:09:39 +0200
commitc8a6822c27210eba74299718679db101a6ee273e (patch)
treee9d7371c377023e016f7230e74d9088a05ff8d6a /app/src/main/java
parent780c63fc4afbe38eca70237e07165d88596b3843 (diff)
workaround for jni issue again
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();