exported activity to support android S+
This commit is contained in:
parent
1a2a00e272
commit
6415d5b8d7
|
@ -36,7 +36,7 @@ android {
|
|||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId "niuhuan.pikapika"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 30
|
||||
targetSdkVersion 31
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
versionName flutterVersionName
|
||||
}
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
<!-- requestLegacyExternalStorage="true" api29 down -->
|
||||
<activity
|
||||
android:name="niuhuan.pikapika.MainActivity"
|
||||
android:exported="true"
|
||||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
||||
android:hardwareAccelerated="true"
|
||||
android:launchMode="singleTop"
|
||||
|
|
Loading…
Reference in New Issue