rustdesk/android/app/src/main/AndroidManifest.xml

80 lines
3.5 KiB
XML
Raw Normal View History

2022-01-21 22:44:16 +08:00
<?xml version="1.0" encoding="utf-8"?>
2020-11-06 18:04:04 +08:00
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.carriez.flutter_hbb">
2022-01-21 22:44:16 +08:00
2022-02-08 22:44:32 +08:00
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
2022-01-21 22:44:16 +08:00
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<application
android:icon="@mipmap/ic_launcher"
2022-02-08 22:44:32 +08:00
android:requestLegacyExternalStorage="true"
2022-01-21 22:44:16 +08:00
android:label="RustDesk">
<service
android:name=".InputService"
android:enabled="true"
android:exported="false"
android:label="RustDesk Input"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService" />
</intent-filter>
<meta-data
android:name="android.accessibilityservice"
android:resource="@xml/accessibility_service_config" />
</service>
2020-11-06 18:04:04 +08:00
<activity
android:name=".MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
2022-01-21 22:44:16 +08:00
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
2022-02-08 22:44:32 +08:00
android:windowSoftInputMode="adjustResize"
android:exported="true">
2022-01-21 22:44:16 +08:00
<!--
Specifies an Android theme to apply to this Activity as soon as
2020-11-06 18:04:04 +08:00
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
2022-01-21 22:44:16 +08:00
to determine the Window background behind the Flutter UI.
-->
2020-11-06 18:04:04 +08:00
<meta-data
2022-01-21 22:44:16 +08:00
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme" />
<!--
Displays an Android View that continues showing the launch screen
2020-11-06 18:04:04 +08:00
Drawable until Flutter paints its first frame, then this splash
screen fades out. A splash screen is useful to avoid any visual
gap between the end of Android's launch screen and the painting of
2022-01-21 22:44:16 +08:00
Flutter's first frame.
-->
2020-11-06 18:04:04 +08:00
<meta-data
2022-01-21 22:44:16 +08:00
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background" />
2020-11-06 18:04:04 +08:00
<intent-filter>
2022-01-20 15:57:54 +08:00
<action android:name="android.intent.action.MAIN" />
2022-01-21 22:44:16 +08:00
2022-01-20 15:57:54 +08:00
<category android:name="android.intent.category.LAUNCHER" />
2020-11-06 18:04:04 +08:00
</intent-filter>
</activity>
2022-01-21 22:44:16 +08:00
2022-01-20 15:57:54 +08:00
<service
android:name=".MainService"
android:enabled="true"
2022-01-21 22:44:16 +08:00
android:foregroundServiceType="mediaProjection" />
<!--
Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java
-->
2020-11-06 18:04:04 +08:00
<meta-data
android:name="flutterEmbedding"
android:value="2" />
2022-01-20 15:57:54 +08:00
</application>
2022-01-21 22:44:16 +08:00
</manifest>