Files
ClashForAndroid/service/src/main/AndroidManifest.xml
T
2020-04-09 14:39:57 +08:00

71 lines
2.6 KiB
XML

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.kr328.clash.service">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<application>
<service
android:name="ClashService"
android:exported="false"
android:process=":background" />
<service
android:name="TunService"
android:exported="false"
android:permission="android.permission.BIND_VPN_SERVICE"
android:process=":background">
<intent-filter>
<action android:name="android.net.VpnService" />
</intent-filter>
</service>
<service
android:name=".ClashManagerService"
android:exported="false"
android:process=":background" />
<service
android:name=".ProfileService"
android:exported="false"
android:process=":background" />
<service
android:name=".ProfileBackgroundService"
android:exported="false"
android:process=":background" />
<receiver
android:name=".ProfileRequestReceiver"
android:exported="false"
android:process=":background" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.profiles"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/profile_provider" />
</provider>
<provider
android:name=".ProfileDocumentProvider"
android:authorities="${applicationId}.documents"
android:grantUriPermissions="true"
android:exported="true"
android:permission="android.permission.MANAGE_DOCUMENTS"
android:process=":background">
<intent-filter>
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
</intent-filter>
</provider>
<provider
android:name=".ServiceStatusProvider"
android:authorities="${applicationId}.status"
android:exported="false"
android:process=":background" />
<provider
android:name=".ServiceSettingsProvider"
android:authorities="${applicationId}.settings"
android:exported="false"
android:process=":background" />
</application>
</manifest>