diff options
| author | 2022-02-22 10:46:07 +0000 | |
|---|---|---|
| committer | 2022-02-22 10:46:07 +0000 | |
| commit | ce4d2f958a611abae947a6060c1de8d6fb6b1f8c (patch) | |
| tree | 40c1b875dc2ac45b238c77dd8ddb3a3cc471d745 /libs/androidfw/StringPool.cpp | |
| parent | 3e4365b8ed6a9c03ddaf9f420dc31900b0c2fbd0 (diff) | |
| parent | 87d1af1d805110a1a26773563e78549be20cf6ec (diff) | |
Fix showSoftInput crashing when no IME is enabled
This CL adds a shortcut for bindCurrentMethod in
InputMethodBindingController to return NO_IME instead of
crashing in the rare case when no IME is enabled in the system.
Bug: 220125769
Test: atest InputMethodServiceTest#testShowSoftInput_whenAllImesDisabled
(cherry picked from commit 107035849e9f28c7ba96af0cb1caaa7bed80fd76)
Merged-In:I7da6ed7f2b80331c469751b7091c340422df40a8
Simplify getImmDelegate in ImeFocusController
This CL undoes part of [1] making removing a local variable.
[1]: Id4c85be1c0eab51f167ba00fc355386f852c424d
Test: make
(cherry picked from commit d90033999f0282cb1a5d70c66f8102dde3ea58b0)
Merged-In:I6b890e5536c17dd53722e2c3a781c85dd9d6bdf0
Change-Id: Ic82e3c836c2c078778de1022ebf6c5f78883c1c1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions