summaryrefslogtreecommitdiff
path: root/remoteExample/src/main
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-11-20 16:33:40 +0100
committerArne Schwabe <arne@rfc2549.org>2014-11-20 16:33:40 +0100
commit1f04e4412e520b773a3aa749b15f28eaaeda23aa (patch)
tree0113e0025aa1fdffece1b8b5a624c9a9cdac2118 /remoteExample/src/main
parente065a37e614507e18d7eaa3191c69fed4baec5d9 (diff)
Remove the custom permission since it makes too much trouble with android 5.0 and the apps requires the user to acknowledge the external API anyway (closes issue #299)
--HG-- extra : rebase_source : c34d165c2c953a8ccda329465a20a7284f73d8f0
Diffstat (limited to 'remoteExample/src/main')
-rw-r--r--remoteExample/src/main/AndroidManifest.xml7
-rw-r--r--remoteExample/src/main/aidl/de/blinkt/openvpn/api/IOpenVPNAPIService.aidl3
2 files changed, 3 insertions, 7 deletions
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