diff options
| author | 2017-02-12 16:38:59 -0800 | |
|---|---|---|
| committer | 2017-02-12 16:38:59 -0800 | |
| commit | 22a8923368a41cf50adfbc963c02b66302bb2d41 (patch) | |
| tree | 71bdf1f89851f4b23eb63660f53289d2289dd4b8 /libs/androidfw/Asset.cpp | |
| parent | 9a49f85ae4ae45343838b189cdfd884ffabbd5ff (diff) | |
Track the last softInputMode in IMMS
A field in WindowManager.LayoutParams softInputMode is something that
definitely needs to be kept tracking in historical debugging
infrastructure across IME-related processes (Bug 35079353) [1]. As a
preparation, this CL enables InputMethodManagerService (IMMS) to
include the last softInputMode specified in IMMS#windowGainedFocus()
in the dumpsys in human readable format.
[1]: As explained in b.android.com/224318, softInputMode misspecified
by app developers is a typical root cause of unexpected behavior
in keyboard visibility. Bugs such as Bug 23168250, Bug 27275709,
and Bug 31770400 fall into this category.
Test: `adb shell dumpsys input_method | grep softInputMode=`
Bug: 35079353
Change-Id: I485ced030def179dad78b4b811c6eb52b5e5c951
Diffstat (limited to 'libs/androidfw/Asset.cpp')
0 files changed, 0 insertions, 0 deletions