mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-13 13:51:49 +00:00
Update dependencies
This commit is contained in:
@@ -43,7 +43,7 @@ abstract class BaseMainActivity<VM : BaseViewModel, Binding : ViewDataBinding>
|
||||
|
||||
if (!isRunningAsStub) {
|
||||
val splashScreen = installSplashScreen()
|
||||
splashScreen.setKeepVisibleCondition { doPreload }
|
||||
splashScreen.setKeepOnScreenCondition { doPreload }
|
||||
}
|
||||
|
||||
if (doPreload) {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- For stub on API 31+, we cannot rely on the platform SplashScreen -->
|
||||
<!-- Force using SplashScreenBase that was used for older APIs -->
|
||||
<style name="StubSplashTheme" parent="Theme.SplashScreenBase">
|
||||
<!-- Force using SplashScreen.Common that was used for older APIs -->
|
||||
<style name="StubSplashTheme" parent="Theme.SplashScreen.Common">
|
||||
<item name="android:enforceStatusBarContrast">false</item>
|
||||
<item name="android:enforceNavigationBarContrast">false</item>
|
||||
<item name="windowSplashScreenBackground">@color/splash_background</item>
|
||||
|
||||
Reference in New Issue
Block a user