summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-10-19 22:27:26 +0200
committercyBerta <cyberta@riseup.net>2022-08-08 18:58:16 +0200
commit7e0896ea7437ff16401f74d37293ef993d065468 (patch)
treedfca70eac16b3803aecb4ea7d5920311cb547902
parentd523eb98316caaa60a6512ae6f45300205ad5abf (diff)
adopt ics-openvpn changes for bitmask
-rw-r--r--main/src/main/aidl/de/blinkt/openvpn/core/IOpenVPNServiceInternal.aidl5
-rw-r--r--main/src/main/java/de/blinkt/openvpn/core/ConnectionStatus.java1
2 files changed, 2 insertions, 4 deletions
diff --git a/main/src/main/aidl/de/blinkt/openvpn/core/IOpenVPNServiceInternal.aidl b/main/src/main/aidl/de/blinkt/openvpn/core/IOpenVPNServiceInternal.aidl
index 1c1df7dc..293c2b6d 100644
--- a/main/src/main/aidl/de/blinkt/openvpn/core/IOpenVPNServiceInternal.aidl
+++ b/main/src/main/aidl/de/blinkt/openvpn/core/IOpenVPNServiceInternal.aidl
@@ -21,9 +21,6 @@ interface IOpenVPNServiceInternal {
*/
boolean stopVPN(boolean replaceConnection);
- void addAllowedExternalApp(String packagename);
+ boolean isVpnRunning();
- boolean isAllowedExternalApp(String packagename);
-
- void challengeResponse(String repsonse);
}
diff --git a/main/src/main/java/de/blinkt/openvpn/core/ConnectionStatus.java b/main/src/main/java/de/blinkt/openvpn/core/ConnectionStatus.java
index 03d842e3..3e6d23f7 100644
--- a/main/src/main/java/de/blinkt/openvpn/core/ConnectionStatus.java
+++ b/main/src/main/java/de/blinkt/openvpn/core/ConnectionStatus.java
@@ -21,6 +21,7 @@ public enum ConnectionStatus implements Parcelable {
LEVEL_START,
LEVEL_AUTH_FAILED,
LEVEL_WAITING_FOR_USER_INPUT,
+ LEVEL_BLOCKING, // used for Bitmask's VoidVPN
UNKNOWN_LEVEL;
@Override