summaryrefslogtreecommitdiff
path: root/app/java/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/java/AndroidManifest.xml')
-rw-r--r--app/java/AndroidManifest.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/app/java/AndroidManifest.xml b/app/java/AndroidManifest.xml
new file mode 100644
index 0000000..ef81463
--- /dev/null
+++ b/app/java/AndroidManifest.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<manifest
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ package="org.pihole.dnsproxy"
+ android:versionCode="1"
+ android:versionName="1.0"
+>
+ <uses-sdk
+ android:minSdkVersion="16"
+ android:targetSdkVersion="28"
+ />
+
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
+ <uses-permission android:name="android.permission.INTERNET" />
+
+ <application
+ android:usesCleartextTraffic="true"
+ >
+ <service
+ android:name=".DNSService"
+ android:permission="android.permission.BIND_VPN_SERVICE"
+ >
+ <intent-filter>
+ <action android:name="android.net.VpnService" />
+ </intent-filter>
+ </service>
+
+ <activity
+ android:name=".MainActivity"
+ android:label="@string/label"
+ android:screenOrientation="portrait"
+ >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ </application>
+</manifest>