Selaa lähdekoodia

优化SplashActivity启动模式(用于外部浏览器唤起)

Pq 4 kuukautta sitten
vanhempi
commit
ab83cb0343
2 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 1 0
      student/src/main/AndroidManifest.xml
  2. 3 0
      teacher/src/main/AndroidManifest.xml

+ 1 - 0
student/src/main/AndroidManifest.xml

@@ -38,6 +38,7 @@
         <activity
             android:name=".ui.splash.SplashActivity"
             android:exported="true"
+            android:launchMode="singleTop"
             android:configChanges="orientation|screenSize|keyboardHidden|fontScale|smallestScreenSize|screenLayout|uiMode"
             android:screenOrientation="portrait"
             android:theme="@style/SplashTheme">

+ 3 - 0
teacher/src/main/AndroidManifest.xml

@@ -48,10 +48,13 @@
 
         <activity
             android:name=".ui.mine.UnBindBankCardActivity"
+            android:configChanges="orientation|screenSize|keyboardHidden|fontScale|smallestScreenSize|screenLayout|uiMode"
             android:exported="false" />
         <activity
             android:name=".ui.splash.SplashActivity"
             android:exported="true"
+            android:configChanges="orientation|screenSize|keyboardHidden|fontScale|smallestScreenSize|screenLayout|uiMode"
+            android:launchMode="singleTop"
             android:screenOrientation="portrait"
             android:theme="@style/SplashTheme">
             <intent-filter>