Jelajahi Sumber

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

Pq 4 bulan lalu
induk
melakukan
ab83cb0343

+ 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>