summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-10-19 22:27:26 +0200
committercyBerta <cyberta@riseup.net>2021-12-20 22:34:21 +0100
commitf786661bd90786175f6423d07f41242216feca2f (patch)
tree9942125540ea713c42d333a8323f145788ebbbd9 /main
parenta546dc1cc570df880f6abfc491c4d235a202c27c (diff)
adopt ics-openvpn changes for bitmask
Diffstat (limited to 'main')
-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