From 0ef712f42889f7917be4cf9b4b00c88675d9d947 Mon Sep 17 00:00:00 2001 From: Roberto Viola Date: Thu, 5 Dec 2024 11:04:55 +0100 Subject: [PATCH] Update MainActivity.java --- .../main/java/org/cagnulein/android_remote/MainActivity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/org/cagnulein/android_remote/MainActivity.java b/app/src/main/java/org/cagnulein/android_remote/MainActivity.java index 3ed20e8..bb11a8c 100644 --- a/app/src/main/java/org/cagnulein/android_remote/MainActivity.java +++ b/app/src/main/java/org/cagnulein/android_remote/MainActivity.java @@ -620,10 +620,9 @@ public boolean onKeyUp(int keyCode, KeyEvent event) { private boolean handleKeyEvent(int keyCode, KeyEvent event) { Log.d("keyboard", event.toString()); - // Se non hai gestito l'evento, passa al gestore predefinito if(scrcpy != null) scrcpy.sendKeyevent(keyCode); - return super.onKeyDown(keyCode, event); + return true; } @Override