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
commitbbbefe26e6c160bca867dce3188b3679f0fcf2fc (patch)
tree8fd78a979459a78c9fad50043366e1d1d890dd68 /AndroidManifest.xml
parent501b58833bd95950e871e83ca21b34fd72991228 (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