From 8c7bd77d33ff690b3421630bbdf204143db6d03d Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 23 Feb 2021 01:49:15 -0800 Subject: [PATCH] Do not wrap twice --- .../main/java/com/topjohnwu/magisk/core/SplashActivity.kt | 5 ----- 1 file changed, 5 deletions(-) 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 61d6c46fd..a18fb309f 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/SplashActivity.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/SplashActivity.kt @@ -1,6 +1,5 @@ package com.topjohnwu.magisk.core -import android.content.Context import android.content.Intent import android.net.Uri import android.os.Bundle @@ -21,10 +20,6 @@ open class SplashActivity : BaseActivity() { private val latch = CountDownLatch(1) - override fun attachBaseContext(base: Context) { - super.attachBaseContext(base.wrap()) - } - override fun onCreate(savedInstanceState: Bundle?) { setTheme(R.style.SplashTheme) super.onCreate(savedInstanceState)