Do not wrap twice

This commit is contained in:
topjohnwu 2021-02-23 01:49:15 -08:00
parent ba1ce16b8b
commit 8c7bd77d33

View File

@ -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)