From 23e74b278184970deb7f4a458a0dd590e53a2031 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 30 Mar 2020 04:03:56 -0700 Subject: [PATCH] Prevent showing empty screen in stealth mode --- app/src/main/java/com/topjohnwu/magisk/core/SplashActivity.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/topjohnwu/magisk/core/SplashActivity.kt b/app/src/main/java/com/topjohnwu/magisk/core/SplashActivity.kt index f7cc2ed34..e75376d08 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/SplashActivity.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/SplashActivity.kt @@ -4,6 +4,7 @@ import android.app.Activity import android.content.Context import android.os.Bundle import com.topjohnwu.magisk.BuildConfig +import com.topjohnwu.magisk.R import com.topjohnwu.magisk.core.tasks.patchDTB import com.topjohnwu.magisk.core.utils.Utils import com.topjohnwu.magisk.core.view.Notifications @@ -20,6 +21,7 @@ open class SplashActivity : Activity() { } override fun onCreate(savedInstanceState: Bundle?) { + setTheme(R.style.SplashTheme) super.onCreate(savedInstanceState) Shell.getShell { Shell.EXECUTOR.execute(this::initAndStart) } }