Skip to content

Commit 5629847

Browse files
committed
fix: 修复 FuckSubScreenWhiteList 中方法 Hook 的参数索引错误
- **逻辑修正:** 在 `handlerTransitionFinished` 方法的 Hook 逻辑中,将修改的参数索引从 `args[4]` 更正为 `args[3]`。 Signed-off-by: ghhccghk <2137610394@qq.com>
1 parent 1b700c2 commit 5629847

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/libhook/src/main/java/com/sevtinge/hyperceiler/libhook/rules/systemframework/display/FuckSubScreenWhiteList.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ object FuckSubScreenWhiteList : BaseHook() {
2525
if (notGotoHome) {
2626
asI.hookAllMethods("handlerTransitionFinished") {
2727
before { param ->
28-
param.args[4] = false
28+
param.args[3] = false
2929
}
3030
}
3131

0 commit comments

Comments
 (0)