summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Taran Singh <tarandeep@google.com> 2024-12-03 20:56:49 +0000
committer Taran Singh <tarandeep@google.com> 2024-12-03 20:56:49 +0000
commitd9b26ef26aef2e8d2cc22db3cea60584d3fc83f8 (patch)
tree9d6b2ce529bbcf1e6a87f4c8fcdd6d2c4bd90c85 /libs/androidfw/AttributeResolution.cpp
parentf597774c740203451f1b2033cef374f999939ef1 (diff)
Fix usage of KeyEvent modifiers in input method session
In [1] we started using KeyEvent#hasModifiers() when the intention was to check if any mentioned key modifier is used. The correct usage would be directly checking for those modifiers e.g.# isCtrlPressed() [1]: I6589cc73839acb6b2c3f9256c664b5db7e1ade8a Fix: 380317043 Test: atest CtsInputMethodTestCases InputMethodServiceTest Flag: android.view.inputmethod.verify_key_event Change-Id: I69cb41d805f5b64f90f8a7c53b0e867a03c94b3e
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions