commit | 5b487b9f6be8338040d590ad3a2b74aa723cd911 | [log] [tgz] |
---|---|---|
author | Wilson Wu <wilsonwu@google.com> | Tue Feb 27 10:21:32 2024 +0000 |
committer | Wilson Wu <wilsonwu@google.com> | Thu Feb 29 08:07:49 2024 +0000 |
tree | 66c6cf28d6445f0841d6bb4bfe16108bafb388d9 | |
parent | 9d2a1061cf0b5eb0586c23b1d26cd3e7f0d4e247 [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