summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Wilson Wu <wilsonwu@google.com> 2024-02-27 10:21:32 +0000
committer Wilson Wu <wilsonwu@google.com> 2024-02-29 08:07:49 +0000
commit5b487b9f6be8338040d590ad3a2b74aa723cd911 (patch)
tree66c6cf28d6445f0841d6bb4bfe16108bafb388d9 /libs/androidfw/AssetsProvider.cpp
parent9d2a1061cf0b5eb0586c23b1d26cd3e7f0d4e247 (diff)
Fix non-ime apps use keyboard category
We introduce keyboard category in CL[1] to support independent keyboard vibration. However some non-ime apps also use the KEYBOARD_* api to simulate keyboard vibration. Check the caller is an input method before applied the keyboard category. [1]: I67c95718d11fb429083e1bc9dcab6e1bc85249fc Bug: 324548203 Test: verify with issue apps Test: atest HapticFeedbackVibrationProviderTest Change-Id: I9e755ed2f30d72e5cdc8c1f6018643867db89ff9
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions