Setup notification on app init

Close #6216
This commit is contained in:
topjohnwu
2022-08-25 02:24:30 -07:00
parent 3668b28f62
commit 87bec70d9f
6 changed files with 56 additions and 51 deletions
@@ -21,7 +21,6 @@ import com.topjohnwu.magisk.core.utils.RootUtils
import com.topjohnwu.magisk.ui.theme.Theme
import com.topjohnwu.magisk.utils.Utils
import com.topjohnwu.magisk.view.MagiskDialog
import com.topjohnwu.magisk.view.Notifications
import com.topjohnwu.magisk.view.Shortcuts
import com.topjohnwu.superuser.Shell
import kotlinx.coroutines.launch
@@ -107,7 +106,6 @@ abstract class SplashActivity<Binding : ViewDataBinding> : NavigationActivity<Bi
return
}
Notifications.setup(this)
JobService.schedule(this)
Shortcuts.setupDynamic(this)