Commit 8c7bd77d authored by topjohnwu's avatar topjohnwu

Do not wrap twice

parent ba1ce16b
package com.topjohnwu.magisk.core package com.topjohnwu.magisk.core
import android.content.Context
import android.content.Intent import android.content.Intent
import android.net.Uri import android.net.Uri
import android.os.Bundle import android.os.Bundle
...@@ -21,10 +20,6 @@ open class SplashActivity : BaseActivity() { ...@@ -21,10 +20,6 @@ open class SplashActivity : BaseActivity() {
private val latch = CountDownLatch(1) private val latch = CountDownLatch(1)
override fun attachBaseContext(base: Context) {
super.attachBaseContext(base.wrap())
}
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
setTheme(R.style.SplashTheme) setTheme(R.style.SplashTheme)
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment