Update RemoveTheLeftSideOfTheLockScreenForT.kt

This commit is contained in:
LittleTurtle2333
2023-02-27 17:43:37 +08:00
parent 1b625d07eb
commit 7449d6e890

View File

@@ -0,0 +1,19 @@
package com.lt2333.simplicitytools.hooks.rules.t.systemui
import com.highcapable.yukihookapi.hook.entity.YukiBaseHooker
import com.lt2333.simplicitytools.utils.hasEnable
object RemoveTheLeftSideOfTheLockScreenForT : YukiBaseHooker() {
override fun onHook() {
"com.android.keyguard.negative.MiuiKeyguardMoveLeftViewContainer".hook {
injectMember {
method { name = "inflateLeftView" }
beforeHook {
hasEnable("remove_the_left_side_of_the_lock_screen") {
resultNull()
}
}
}
}
}
}