|
1 | | -<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 | | - package="com.example.github_actions_flutter_workflows"> |
3 | | - <application |
| 1 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
| 2 | + <application |
4 | 3 | android:label="github_actions_flutter_workflows" |
| 4 | + android:name="${applicationName}" |
5 | 5 | android:icon="@mipmap/ic_launcher"> |
6 | 6 | <activity |
7 | 7 | android:name=".MainActivity" |
| 8 | + android:exported="true" |
8 | 9 | android:launchMode="singleTop" |
| 10 | + android:taskAffinity="" |
9 | 11 | android:theme="@style/LaunchTheme" |
10 | 12 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
11 | 13 | android:hardwareAccelerated="true" |
|
18 | 20 | android:name="io.flutter.embedding.android.NormalTheme" |
19 | 21 | android:resource="@style/NormalTheme" |
20 | 22 | /> |
21 | | - <!-- Displays an Android View that continues showing the launch screen |
22 | | - Drawable until Flutter paints its first frame, then this splash |
23 | | - screen fades out. A splash screen is useful to avoid any visual |
24 | | - gap between the end of Android's launch screen and the painting of |
25 | | - Flutter's first frame. --> |
26 | | - <meta-data |
27 | | - android:name="io.flutter.embedding.android.SplashScreenDrawable" |
28 | | - android:resource="@drawable/launch_background" |
29 | | - /> |
30 | 23 | <intent-filter> |
31 | 24 | <action android:name="android.intent.action.MAIN"/> |
32 | 25 | <category android:name="android.intent.category.LAUNCHER"/> |
|
38 | 31 | android:name="flutterEmbedding" |
39 | 32 | android:value="2" /> |
40 | 33 | </application> |
| 34 | + <!-- Required to query activities that can process text, see: |
| 35 | + https://developer.android.com/training/package-visibility and |
| 36 | + https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT. |
| 37 | +
|
| 38 | + In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> |
| 39 | + <queries> |
| 40 | + <intent> |
| 41 | + <action android:name="android.intent.action.PROCESS_TEXT"/> |
| 42 | + <data android:mimeType="text/plain"/> |
| 43 | + </intent> |
| 44 | + </queries> |
41 | 45 | </manifest> |
0 commit comments