Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Chara White committed Oct 11, 2024
1 parent 8948fa2 commit da4eaa8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ object MIUIHotkeyHooksAndroid12 : BaseHook() {
XposedBridge.log("MiuiPadMeta: MIUIHotkeyHooksAndroid12 hook PhoneWindowManager.interceptKeyBeforeDispatching failed!")
XposedBridge.log(e)
}

// disable miui hotkeys
try {
// disable miui hotkeys
findMethod("com.android.server.policy.MiuiKeyShortcutManager") {
name == "getEnableKsFeature"
}.hookReturnConstant(false)
Expand Down

0 comments on commit da4eaa8

Please sign in to comment.