diff options
| author | 2022-10-18 11:29:21 -0700 | |
|---|---|---|
| committer | 2022-10-18 11:29:21 -0700 | |
| commit | 0135405ed5a7832aada2195ff777b67d67738fde (patch) | |
| tree | 90b4293234439c00cdbe92ef382f2fba7d13fc31 /libs/androidfw/StringPool.cpp | |
| parent | a9625d3beef7d1d41c51fa7c02268866e6636f5f (diff) | |
Let IMM directly call checkFocusInternal() when possible
With this CL, the code paths from IMM#checkFocus() will be drastically
simplified as follows.
* Before
InputMethodManager#checkFocus()
-> ImeFocusController#checkFocus()
-> InputMethodManager.DelegateImpl#checkFocus()
-> InputMethodManager#checkFocusInternal()
* After
InputMethodManager#checkFocus()
-> InputMethodManager#checkFocusInternal()
In the end,
InputMethodManager.DelegateImpl#checkFocus()
is guaranteed to be called only from ViewRootImpl.
This is still mechanical refactoring. There must be no observable
behavior change.
Bug: 234882948
Test: presubmit
Change-Id: Ie1c7525ee46db11ccd593c6ed0ac17b4ece41953
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions