diff options
| author | 2023-08-22 14:02:22 -0700 | |
|---|---|---|
| committer | 2023-08-22 14:02:22 -0700 | |
| commit | da56eb5c95996b629f5be536f42bd8c70179ae6a (patch) | |
| tree | 01c1ebd748c99b996b48bdcaed80a47328aa91ec /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 6162ea96867142ee7ebffb6dd2655deded0c6f68 (diff) | |
Fix an edge case in IMS#switchInputMethod()
This CL fixes a long-standing edge case when
InputMethodService#switchInputMethod(String, InputMethodSubtype)
stops working when it should work.
In short, IMMS#mCurrentSubtype can be null even when the IME has
enabled and existing subtype. IMMS#setInputMethodLocked() should just
go ahead to handle the request rather than bailing out.
Fix: 231444489
Fix: 291762796
Test: atest CtsInputMethodTestCases:InputMethodSubtypeEndToEndTest
Change-Id: I5402f1b01da940a87a645721686270aca609b933
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions