diff options
| author | 2024-11-20 09:49:16 +0000 | |
|---|---|---|
| committer | 2024-11-20 09:49:16 +0000 | |
| commit | 64736b3216aa97be14c2acc91b724741ec2203ce (patch) | |
| tree | 3fdd08d68a6450928c698c524e32a8f3b338fa53 | |
| parent | 7b53ad5878e29aca81704e2c9c70bcd48f9cad6d (diff) | |
| parent | 9ce557e3636eee49bd97f559c088322f135337eb (diff) | |
Merge "correct up eventTime" into main
| -rw-r--r-- | services/core/java/com/android/server/input/InputShellCommand.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/input/InputShellCommand.java b/services/core/java/com/android/server/input/InputShellCommand.java index 4c5a3c27e156..d8cf68e1b87c 100644 --- a/services/core/java/com/android/server/input/InputShellCommand.java +++ b/services/core/java/com/android/server/input/InputShellCommand.java @@ -472,6 +472,7 @@ public class InputShellCommand extends ShellCommand { } } } + event = KeyEvent.changeTimeRepeat(event, SystemClock.uptimeMillis(), 0); injectKeyEvent(KeyEvent.changeAction(event, KeyEvent.ACTION_UP), async); } |