Add linux deb dependencies Add backup recovery strategy select Support custom text scaling Optimize the display of different text scale Optimize windows setup experience Optimize startTun performance Optimize android tv experience Optimize default option Optimize computed text size Optimize hyperOS freeform window Add developer mode Update core Optimize more details
151 lines
6.3 KiB
XML
151 lines
6.3 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<uses-feature
|
|
android:name="android.hardware.touchscreen"
|
|
android:required="false" />
|
|
<uses-feature
|
|
android:name="android.hardware.camera"
|
|
android:required="false" />
|
|
|
|
<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.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
|
|
|
|
<uses-permission
|
|
android:name="android.permission.QUERY_ALL_PACKAGES"
|
|
tools:ignore="QueryAllPackagesPermission" />
|
|
|
|
<application
|
|
android:name=".FlClashApplication"
|
|
android:hardwareAccelerated="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="FlClash">
|
|
<activity
|
|
android:name="com.follow.clash.MainActivity"
|
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
|
android:exported="true"
|
|
android:hardwareAccelerated="true"
|
|
android:launchMode="singleTop"
|
|
android:theme="@style/LaunchTheme"
|
|
android:windowSoftInputMode="adjustResize">
|
|
<!-- Specifies an Android theme to apply to this Activity as soon as
|
|
the Android process has started. This theme is visible to the user
|
|
while the Flutter UI initializes. After that, this theme continues
|
|
to determine the Window background behind the Flutter UI. -->
|
|
<meta-data
|
|
android:name="io.flutter.embedding.android.NormalTheme"
|
|
android:resource="@style/NormalTheme" />
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data android:scheme="clash" />
|
|
<data android:scheme="clashmeta" />
|
|
<data android:scheme="flclash" />
|
|
|
|
<data android:host="install-config" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<meta-data
|
|
android:name="io.flutter.embedding.android.EnableImpeller"
|
|
android:value="false" />
|
|
|
|
<activity
|
|
android:name=".TempActivity"
|
|
android:exported="true"
|
|
android:theme="@style/TransparentTheme">
|
|
<intent-filter>
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<action android:name="${applicationId}.action.START" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<action android:name="${applicationId}.action.STOP" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<action android:name="${applicationId}.action.CHANGE" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<service
|
|
android:name=".services.FlClashTileService"
|
|
android:exported="true"
|
|
android:icon="@drawable/ic_stat_name"
|
|
android:label="FlClash"
|
|
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>
|
|
|
|
<provider
|
|
android:name=".FilesProvider"
|
|
android:authorities="${applicationId}.files"
|
|
android:exported="true"
|
|
android:grantUriPermissions="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="androidx.core.content.FileProvider"
|
|
android:authorities="${applicationId}.fileProvider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/file_paths" />
|
|
</provider>
|
|
|
|
<service
|
|
android:name=".services.FlClashVpnService"
|
|
android:exported="false"
|
|
android:foregroundServiceType="dataSync"
|
|
android:permission="android.permission.BIND_VPN_SERVICE">
|
|
<intent-filter>
|
|
<action android:name="android.net.VpnService" />
|
|
</intent-filter>
|
|
<property
|
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
|
android:value="vpn" />
|
|
</service>
|
|
|
|
<service
|
|
android:name=".services.FlClashService"
|
|
android:exported="false"
|
|
android:foregroundServiceType="dataSync">
|
|
<property
|
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
|
android:value="service" />
|
|
</service>
|
|
|
|
<meta-data
|
|
android:name="flutterEmbedding"
|
|
android:value="2" />
|
|
</application>
|
|
</manifest> |