106 lines
4.0 KiB
XML
106 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
|
|
|
|
<uses-permission
|
|
android:name="android.permission.QUERY_ALL_PACKAGES"
|
|
tools:ignore="QueryAllPackagesPermission" />
|
|
|
|
<application
|
|
android:name=".Application"
|
|
android:allowBackup="true"
|
|
android:dataExtractionRules="@xml/data_extraction_rules"
|
|
android:fullBackupContent="@xml/backup_rules"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppTheme"
|
|
tools:targetApi="31">
|
|
|
|
<meta-data
|
|
android:name="android.app.shortcuts"
|
|
android:resource="@xml/shortcuts" />
|
|
|
|
<activity
|
|
android:name=".ui.MainActivity"
|
|
android:exported="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:launchMode="singleTask">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="android.app.shortcuts"
|
|
android:resource="@xml/shortcuts" />
|
|
</activity>
|
|
|
|
<activity
|
|
android:name=".ui.ShortcutActivity"
|
|
android:excludeFromRecents="true"
|
|
android:exported="true"
|
|
android:label="@string/quick_toggle"
|
|
android:launchMode="singleTask"
|
|
android:taskAffinity=""
|
|
android:theme="@style/AppTheme.Translucent">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.CREATE_SHORTCUT" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name="io.nekohasekai.sfa.ui.profile.NewProfileActivity"
|
|
android:exported="false" />
|
|
<activity
|
|
android:name="io.nekohasekai.sfa.ui.profile.EditProfileActivity"
|
|
android:exported="false" />
|
|
<activity
|
|
android:name="io.nekohasekai.sfa.ui.profile.EditProfileContentActivity"
|
|
android:exported="false" />
|
|
|
|
<service
|
|
android:name=".bg.TileService"
|
|
android:directBootAware="true"
|
|
android:exported="true"
|
|
android:icon="@drawable/ic_launcher_foreground"
|
|
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
|
|
tools:targetApi="n">
|
|
<intent-filter>
|
|
<action android:name="android.service.quicksettings.action.QS_TILE" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.service.quicksettings.TOGGLEABLE_TILE"
|
|
android:value="true" />
|
|
</service>
|
|
|
|
<service
|
|
android:name=".bg.VPNService"
|
|
android:exported="false"
|
|
android:permission="android.permission.BIND_VPN_SERVICE">
|
|
<intent-filter>
|
|
<action android:name="android.net.VpnService" />
|
|
</intent-filter>
|
|
</service>
|
|
<service
|
|
android:name=".bg.ProxyService"
|
|
android:exported="false" />
|
|
|
|
<receiver
|
|
android:name=".bg.BootReceiver"
|
|
android:exported="true">
|
|
<intent-filter android:priority="999">
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
</application>
|
|
|
|
</manifest> |