Update stub implementation

This commit is contained in:
topjohnwu
2024-07-09 21:49:48 -07:00
parent 88e8e15607
commit 6b81716440
11 changed files with 131 additions and 147 deletions

View File

@@ -21,7 +21,9 @@ class RootUtils(stub: Any?) : RootService() {
private val className: String = stub?.javaClass?.name ?: javaClass.name
private lateinit var am: ActivityManager
constructor() : this(null) {
constructor() : this(null)
init {
Timber.plant(object : Timber.DebugTree() {
override fun log(priority: Int, tag: String?, message: String, t: Throwable?) {
super.log(priority, "Magisk", message, t)