|
1 |
| -<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 |
| - package="io.github.d1y.movie.movie"> |
| 1 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
| 2 | + <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 3 | + <uses-permission android:name="android.permission.INTERNET" /> |
| 4 | + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 5 | + <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 6 | + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 7 | + <uses-permission android:name="android.permission.WAKE_LOCK" /> |
3 | 8 |
|
4 |
| - <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
5 |
| - <uses-permission android:name="android.permission.INTERNET" /> |
6 |
| - <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
7 |
| - <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
8 |
| - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
9 |
| - <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 9 | + <queries> |
| 10 | + <intent> |
| 11 | + <action android:name="android.intent.action.VIEW" /> |
| 12 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 13 | + <data android:scheme="https" /> |
| 14 | + </intent> |
| 15 | + </queries> |
10 | 16 |
|
11 |
| - <queries> |
12 |
| - <intent> |
13 |
| - <action android:name="android.intent.action.VIEW" /> |
14 |
| - <category android:name="android.intent.category.BROWSABLE" /> |
15 |
| - <data android:scheme="https" /> |
16 |
| - </intent> |
17 |
| - </queries> |
18 |
| - |
19 |
| - <application |
| 17 | + <application |
20 | 18 | android:label="yoyo"
|
21 |
| - android:icon="@mipmap/launcher_icon" |
22 |
| - android:usesCleartextTraffic="true"> |
| 19 | + android:name="${applicationName}" |
| 20 | + android:icon="@mipmap/launcher_icon"> |
23 | 21 | <activity
|
24 | 22 | android:name=".MainActivity"
|
| 23 | + android:exported="true" |
25 | 24 | android:launchMode="singleTop"
|
| 25 | + android:taskAffinity="" |
26 | 26 | android:theme="@style/LaunchTheme"
|
27 | 27 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
28 | 28 | android:hardwareAccelerated="true"
|
29 |
| - android:screenOrientation="portrait" |
30 | 29 | android:windowSoftInputMode="adjustResize">
|
31 | 30 | <!-- Specifies an Android theme to apply to this Activity as soon as
|
32 | 31 | the Android process has started. This theme is visible to the user
|
|
36 | 35 | android:name="io.flutter.embedding.android.NormalTheme"
|
37 | 36 | android:resource="@style/NormalTheme"
|
38 | 37 | />
|
39 |
| - <!-- Displays an Android View that continues showing the launch screen |
40 |
| - Drawable until Flutter paints its first frame, then this splash |
41 |
| - screen fades out. A splash screen is useful to avoid any visual |
42 |
| - gap between the end of Android's launch screen and the painting of |
43 |
| - Flutter's first frame. --> |
44 |
| - <meta-data |
45 |
| - android:name="io.flutter.embedding.android.SplashScreenDrawable" |
46 |
| - android:resource="@drawable/launch_background" |
47 |
| - /> |
48 | 38 | <intent-filter>
|
49 | 39 | <action android:name="android.intent.action.MAIN"/>
|
50 | 40 | <category android:name="android.intent.category.LAUNCHER"/>
|
|
56 | 46 | android:name="flutterEmbedding"
|
57 | 47 | android:value="2" />
|
58 | 48 | </application>
|
| 49 | + <!-- Required to query activities that can process text, see: |
| 50 | + https://developer.android.com/training/package-visibility and |
| 51 | + https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT. |
| 52 | +
|
| 53 | + In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> |
| 54 | + <queries> |
| 55 | + <intent> |
| 56 | + <action android:name="android.intent.action.PROCESS_TEXT"/> |
| 57 | + <data android:mimeType="text/plain"/> |
| 58 | + </intent> |
| 59 | + </queries> |
59 | 60 | </manifest>
|
0 commit comments