summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-10-16 11:56:25 +0200
committercyBerta <cyberta@riseup.net>2021-10-16 11:56:25 +0200
commitdac7d9ce22f1eb2a96cc8a3a0fc34e6c3d4c9291 (patch)
tree5f3234b2b71258424126154f202d47daabdbc31a /app/src/main
parenta32b6cf537cadd895d161c3c589c14ffb97de9c5 (diff)
update shapeshifter jni bindings
Diffstat (limited to 'app/src/main')
-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 828b90ba..970703cc 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,13 +37,13 @@ public class Shapeshifter implements Observer {
private static final int RETRY_TIME = 4000;
private static final String TAG = Shapeshifter.class.getSimpleName();
- private final ShapeShifter_ shapeShifter;
+ private final shapeshifter.ShapeShifter shapeShifter;
private boolean isErrorHandling;
private boolean noNetwork;
private int retry = 0;
private final Handler reconnectHandler;
- public class ShapeshifterLogger implements shapeShifter.Logger {
+ public class ShapeshifterLogger implements shapeshifter.Logger {
@Override
public void log(String s) {
Log.e(TAG, "SHAPESHIFTER ERROR: " + s);
@@ -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();