mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-07 19:00:20 +00:00
Set tag for root service
This commit is contained in:
@@ -22,7 +22,11 @@ class RootUtils(stub: Any?) : RootService() {
|
|||||||
private lateinit var am: ActivityManager
|
private lateinit var am: ActivityManager
|
||||||
|
|
||||||
constructor() : this(null) {
|
constructor() : this(null) {
|
||||||
Timber.plant(Timber.DebugTree())
|
Timber.plant(object : Timber.DebugTree() {
|
||||||
|
override fun log(priority: Int, tag: String?, message: String, t: Throwable?) {
|
||||||
|
super.log(priority, "Magisk", message, t)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
|
|||||||
Reference in New Issue
Block a user