summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-12-27 19:47:35 +0100
committerArne Schwabe <arne@rfc2549.org>2012-12-27 19:47:35 +0100
commit1c8e1f9adb41d69829886538e9b2b25a9aeb7bbb (patch)
tree90a37b04858799a40f16600f81edae0840f4a576 /AndroidManifest.xml
parent5420d42b057ad6e0d606088fa9e0836824db8b14 (diff)
Make changes needed to provide an external API
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml19
1 files changed, 16 insertions, 3 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index b15156d6..2bd0be0e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -29,8 +29,15 @@
<!-- <uses-permission android:name="com.android.vending.BILLING" /> -->
<uses-sdk
- android:minSdkVersion="14"
- android:targetSdkVersion="14" />
+ android:minSdkVersion="15"
+ android:targetSdkVersion="15" />
+
+ <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"
@@ -61,6 +68,12 @@
<action android:name="android.net.VpnService" />
</intent-filter>
</service>
+ <service android:name=".api.ExternalOpenVPNService"
+ android:permission="de.blinkt.openvpn.REMOTE_API">
+ <intent-filter>
+ <action android:name="de.blinkt.openvpn.api.IOpenVPNAPIService" />
+ </intent-filter>
+ </service>
<receiver android:name=".OnBootReceiver" >
<intent-filter>
@@ -126,4 +139,4 @@
android:grantUriPermissions="true" />
</application>
-</manifest>
+</manifest> \ No newline at end of file