exported activity to support android S+

This commit is contained in:
niuhuan 2021-12-14 09:44:39 +08:00
parent 1a2a00e272
commit 6415d5b8d7
2 changed files with 2 additions and 1 deletions

View File

@ -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
}

View File

@ -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"