mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
Removed unnecessary calls from splash
This commit is contained in:
parent
7c755a3991
commit
7538f89b56
@ -6,12 +6,10 @@ import android.text.TextUtils
|
||||
import androidx.appcompat.app.AlertDialog
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import com.topjohnwu.magisk.*
|
||||
import com.topjohnwu.magisk.tasks.UpdateRepos
|
||||
import com.topjohnwu.magisk.utils.LocaleManager
|
||||
import com.topjohnwu.magisk.utils.Utils
|
||||
import com.topjohnwu.magisk.view.Notifications
|
||||
import com.topjohnwu.magisk.view.Shortcuts
|
||||
import com.topjohnwu.net.Networking
|
||||
import com.topjohnwu.superuser.Shell
|
||||
|
||||
open class SplashActivity : AppCompatActivity() {
|
||||
@ -66,10 +64,10 @@ open class SplashActivity : AppCompatActivity() {
|
||||
// Magisk working as expected
|
||||
if (Shell.rootAccess() && Config.magiskVersionCode > 0) {
|
||||
// Load modules
|
||||
Utils.loadModules(false)
|
||||
//Utils.loadModules(false)
|
||||
// Load repos
|
||||
if (Networking.checkNetworkStatus(this))
|
||||
UpdateRepos().exec()
|
||||
//if (Networking.checkNetworkStatus(this))
|
||||
//UpdateRepos().exec()
|
||||
}
|
||||
|
||||
val intent = Intent(this, ClassMap.get<Any>(MainActivity::class.java))
|
||||
|
Loading…
x
Reference in New Issue
Block a user