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
Loading
Please register or sign in to comment