Files
umbrix/android/app/src/main/AndroidManifest.xml

136 lines
5.7 KiB
XML
Raw Normal View History

2023-08-19 22:27:23 +03:30
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
2023-12-21 16:19:22 +03:30
<uses-feature
android:name="android.software.leanback"
android:required="false" />
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
2023-07-06 17:18:41 +03:30
<uses-permission android:name="android.permission.INTERNET" />
2023-08-19 22:27:23 +03:30
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
2023-07-06 17:18:41 +03:30
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
2023-08-19 22:27:23 +03:30
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<uses-permission
android:name="android.permission.QUERY_ALL_PACKAGES"
tools:ignore="QueryAllPackagesPermission" />
2023-07-06 17:18:41 +03:30
<application
2023-08-19 22:27:23 +03:30
android:name=".Application"
2024-02-14 19:11:01 +01:00
android:banner="@mipmap/ic_banner"
2023-12-21 16:19:22 +03:30
android:icon="@mipmap/ic_launcher"
2024-02-10 11:39:37 +01:00
android:label="Hiddify"
2023-10-14 17:44:18 +03:30
android:roundIcon="@mipmap/ic_launcher_round"
2023-08-19 22:27:23 +03:30
tools:targetApi="31">
2023-09-09 20:51:02 +03:30
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
2023-07-06 17:18:41 +03:30
<activity
android:name=".MainActivity"
2023-10-14 17:44:18 +03:30
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
2023-07-06 17:18:41 +03:30
android:exported="true"
2023-10-14 17:44:18 +03:30
android:hardwareAccelerated="true"
2023-07-06 17:18:41 +03:30
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:windowSoftInputMode="adjustResize">
2023-09-09 20:51:02 +03:30
2023-07-06 17:18:41 +03:30
<!-- 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
2023-10-14 17:44:18 +03:30
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme" />
2023-07-06 17:18:41 +03:30
<intent-filter>
2023-10-14 17:44:18 +03:30
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
2023-07-06 17:18:41 +03:30
</intent-filter>
2023-11-07 01:25:43 +01:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
2023-07-06 17:18:41 +03:30
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
2023-10-14 17:44:18 +03:30
<data android:scheme="sing-box" />
<data android:host="import-remote-profile" />
<data android:scheme="clash" />
<data android:host="install-config" />
<data android:scheme="clashmeta" />
<data android:scheme="hiddify" />
<data android:host="install-sub" />
2023-12-19 09:00:32 +01:00
<data android:scheme="hiddify" />
<data android:host="import" />
2023-07-06 17:18:41 +03:30
</intent-filter>
2023-09-05 19:03:11 +03:30
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
</intent-filter>
2023-07-06 17:18:41 +03:30
</activity>
2023-09-09 20:51:02 +03:30
<activity
android:name=".ShortcutActivity"
android:excludeFromRecents="true"
android:exported="true"
android:label="@string/quick_toggle"
android:launchMode="singleTask"
android:taskAffinity="">
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT" />
</intent-filter>
</activity>
2023-09-05 19:03:11 +03:30
<service
android:name=".bg.TileService"
android:directBootAware="true"
android:exported="true"
android:icon="@drawable/ic_stat_logo"
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>
2023-08-19 22:27:23 +03:30
<service
android:name=".bg.VPNService"
android:exported="false"
2023-12-21 16:19:22 +03:30
android:foregroundServiceType="specialUse"
2023-08-19 22:27:23 +03:30
android:permission="android.permission.BIND_VPN_SERVICE">
<intent-filter>
<action android:name="android.net.VpnService" />
</intent-filter>
2023-12-21 16:19:22 +03:30
<property
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
android:value="vpn" />
2023-08-19 22:27:23 +03:30
</service>
2023-09-09 20:51:02 +03:30
<service
android:name=".bg.ProxyService"
2023-12-21 16:19:22 +03:30
android:exported="false"
android:foregroundServiceType="specialUse">
<property
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
android:value="proxy" />
</service>
2023-07-06 17:18:41 +03:30
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
2023-11-19 19:32:57 +03:30
</manifest>