From c8a6822c27210eba74299718679db101a6ee273e Mon Sep 17 00:00:00 2001 From: cyBerta Date: Thu, 30 Sep 2021 16:08:57 +0200 Subject: workaround for jni issue again --- .../se/leap/bitmaskclient/pluggableTransports/Shapeshifter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/src') 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(); -- cgit v1.2.3