summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Vaibhav Devmurari <vdevmurari@google.com> 2023-06-21 15:50:44 +0000
committer Vaibhav Devmurari <vdevmurari@google.com> 2023-07-05 10:33:23 +0000
commit13f696dcb9c85bbc33109012304ceb6b631182dc (patch)
tree874afa439d46eb9780b582468a6ad222bfdfbfcb /libs/hwui/FrameInfoVisualizer.cpp
parent04a2e09fb6fbde5b09a2569dfec84f6ef08ef82f (diff)
Refactor PWM to fully capture shortcut gesture
Currently some keys and shortcuts are partially captured. So, a part of the key event gesture is sent to applications and a part of it is not. Make sure keys and shortcuts are tracked from first action down, and if they are intercepted the whole key event gesture, down, repeated down, up are all intercepted. Example: In the current logic some keys were getting captured only on first ACTION_DOWN, this means applications were still receiving ACTION_UP which they should not since they didn't receive the down event. Further refactoring: Fix interceptBeforeQueuing and separate the logic to a separate file to handle shortcuts and add more strict testing. Test: manual Bug: 283241997 Change-Id: Ia48086458c86b35c00e01b4a960f6a9bfb80bae9
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions