Commit 7538f89b authored by Viktor De Pasquale's avatar Viktor De Pasquale

Removed unnecessary calls from splash

parent 7c755a39
...@@ -6,12 +6,10 @@ import android.text.TextUtils ...@@ -6,12 +6,10 @@ import android.text.TextUtils
import androidx.appcompat.app.AlertDialog import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity
import com.topjohnwu.magisk.* import com.topjohnwu.magisk.*
import com.topjohnwu.magisk.tasks.UpdateRepos
import com.topjohnwu.magisk.utils.LocaleManager import com.topjohnwu.magisk.utils.LocaleManager
import com.topjohnwu.magisk.utils.Utils import com.topjohnwu.magisk.utils.Utils
import com.topjohnwu.magisk.view.Notifications import com.topjohnwu.magisk.view.Notifications
import com.topjohnwu.magisk.view.Shortcuts import com.topjohnwu.magisk.view.Shortcuts
import com.topjohnwu.net.Networking
import com.topjohnwu.superuser.Shell import com.topjohnwu.superuser.Shell
open class SplashActivity : AppCompatActivity() { open class SplashActivity : AppCompatActivity() {
...@@ -66,10 +64,10 @@ open class SplashActivity : AppCompatActivity() { ...@@ -66,10 +64,10 @@ open class SplashActivity : AppCompatActivity() {
// Magisk working as expected // Magisk working as expected
if (Shell.rootAccess() && Config.magiskVersionCode > 0) { if (Shell.rootAccess() && Config.magiskVersionCode > 0) {
// Load modules // Load modules
Utils.loadModules(false) //Utils.loadModules(false)
// Load repos // Load repos
if (Networking.checkNetworkStatus(this)) //if (Networking.checkNetworkStatus(this))
UpdateRepos().exec() //UpdateRepos().exec()
} }
val intent = Intent(this, ClassMap.get<Any>(MainActivity::class.java)) val intent = Intent(this, ClassMap.get<Any>(MainActivity::class.java))
......
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