Skip to content

Commit

Permalink
fix: hook input_handle_event
Browse files Browse the repository at this point in the history
  • Loading branch information
bmax committed May 1, 2024
1 parent 3d9bdeb commit 6f1781a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r25b
ndk-version: r26b
add-to-path: true

- name: Make hdr
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r25b
ndk-version: r26b
add-to-path: true

- name: Make hdr
Expand Down
2 changes: 1 addition & 1 deletion kernel/patch/android/userd.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ int kpuserd_init()
ret |= rc;

unsigned long input_handle_event_addr = get_preset_patch_sym()->input_handle_event;
if (!input_handle_event_addr) {
if (input_handle_event_addr) {
rc = hook_wrap4((void *)input_handle_event_addr, before_input_handle_event, 0, 0);
ret |= rc;
log_boot("hook input_handle_event rc: %d\n", rc);
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#define MAJOR 0
#define MINOR 10
#define PATCH 6
#define PATCH 7

0 comments on commit 6f1781a

Please sign in to comment.