summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/src/main/AndroidManifest.xml14
-rw-r--r--remoteExample/src/main/AndroidManifest.xml7
-rw-r--r--remoteExample/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl3
3 files changed, 4 insertions, 20 deletions
diff --git a/main/src/main/AndroidManifest.xml b/main/src/main/AndroidManifest.xml
index 4e6ca126..8f478bcc 100644
--- a/main/src/main/AndroidManifest.xml
+++ b/main/src/main/AndroidManifest.xml
@@ -17,15 +17,6 @@
<!-- <uses-permission android:name="com.android.vending.BILLING" /> -->
- <!-- Copy the <permission> block to your app when using the REMOTE API. Otherwise OpenVPN for
- Android needs to be installed first -->
- <permission
- android:name="de.blinkt.openvpn.REMOTE_API"
- android:description="@string/permission_description"
- android:label="Control OpenVPN"
- android:permissionGroup="android.permission-group.NETWORK"
- android:protectionLevel="dangerous" />
-
<application
android:allowBackup="true"
android:theme="@style/blinkt"
@@ -69,22 +60,19 @@
</intent-filter>
</service>
<service
- android:name=".api.ExternalOpenVPNService"
- android:permission="de.blinkt.openvpn.REMOTE_API" >
+ android:name=".api.ExternalOpenVPNService">
<intent-filter>
<action android:name="de.blinkt.openvpn.api.IOpenVPNAPIService" />
</intent-filter>
</service>
<activity
- android:permission="de.blinkt.openvpn.REMOTE_API"
android:name=".api.GrantPermissionsActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity
- android:permission="de.blinkt.openvpn.REMOTE_API"
android:name=".api.ConfirmDialog" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
diff --git a/remoteExample/src/main/AndroidManifest.xml b/remoteExample/src/main/AndroidManifest.xml
index 1d76db58..abd7b621 100644
--- a/remoteExample/src/main/AndroidManifest.xml
+++ b/remoteExample/src/main/AndroidManifest.xml
@@ -2,15 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.blinkt.openvpn.remote" >
- <permission
- android:name="de.blinkt.openvpn.REMOTE_API"
- android:description="@string/permission_description"
- android:label="Control OpenVPN"
- android:permissionGroup="android.permission-group.NETWORK"
- android:protectionLevel="dangerous" />
<uses-permission android:name="android.permission.INTERNET" />
- <uses-permission android:name="de.blinkt.openvpn.REMOTE_API" />
<application
android:allowBackup="true"
diff --git a/remoteExample/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl b/remoteExample/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl
index 794e3aad..06545bd7 100644
--- a/remoteExample/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl
+++ b/remoteExample/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl
@@ -46,5 +46,8 @@ interface IOpenVPNAPIService {
* Remove a previously registered callback interface.
*/
void unregisterStatusCallback(IOpenVPNStatusCallback cb);
+
+ /** Remove a profile by UUID */
+ void removeProfile (String profileUUID);
} \ No newline at end of file