Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / vpn / src / main / AndroidManifest.xml
AndroidManifest.xml49 lines · 2.3 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | xmlns:tools="http://schemas.android.com/tools"> |
| 4 | |
| 5 | <uses-permission android:name="android.permission.INTERNET" /> |
| 6 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 7 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 8 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED" /> |
| 9 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 10 | <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> |
| 11 | |
| 12 | <application |
| 13 | android:allowBackup="true" |
| 14 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 15 | android:icon="@mipmap/ic_launcher" |
| 16 | android:label="@string/app_name" |
| 17 | android:roundIcon="@mipmap/ic_launcher" |
| 18 | android:supportsRtl="true" |
| 19 | android:networkSecurityConfig="@xml/network_security_config" |
| 20 | android:theme="@style/Theme.General" |
| 21 | tools:replace="android:networkSecurityConfig"> |
| 22 | <activity |
| 23 | android:name=".MainActivity" |
| 24 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 25 | android:exported="true" |
| 26 | android:theme="@style/Theme.General"> |
| 27 | <intent-filter> |
| 28 | <action android:name="android.intent.action.MAIN" /> |
| 29 | <category android:name="android.intent.category.LAUNCHER" /> |
| 30 | </intent-filter> |
| 31 | <intent-filter> |
| 32 | <action android:name="android.intent.action.APPLICATION_PREFERENCES" /> |
| 33 | <category android:name="android.intent.category.DEFAULT" /> |
| 34 | </intent-filter> |
| 35 | </activity> |
| 36 | |
| 37 | <service |
| 38 | android:name=".service.VpnTunnelService" |
| 39 | android:permission="android.permission.BIND_VPN_SERVICE" |
| 40 | android:exported="true" |
| 41 | android:foregroundServiceType="systemExempted"> |
| 42 | <intent-filter> |
| 43 | <action android:name="android.net.VpnService" /> |
| 44 | </intent-filter> |
| 45 | <meta-data android:name="android.net.VpnService.SUPPORTS_ALWAYS_ON" android:value="true" /> |
| 46 | </service> |
| 47 | </application> |
| 48 | |
| 49 | </manifest> |