mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-12 19:31:17 +08:00
修复去除锁屏相机后特定场景下仍出现
This commit is contained in:
@@ -50,6 +50,16 @@ class RemoveLockScreenCamera : IXposedHookLoadPackage {
|
||||
}
|
||||
}
|
||||
})
|
||||
XposedHelpers.findAndHookMethod(
|
||||
classIfExists2,
|
||||
"reset",
|
||||
object : XC_MethodHook() {
|
||||
override fun beforeHookedMethod(param: MethodHookParam) {
|
||||
if (XSPUtils.getBoolean("remove_lock_screen_camera", false)) {
|
||||
param.result = null
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user