Skip to content
Commit d0bc1712 authored by Ming-Shin Lu's avatar Ming-Shin Lu
Browse files

Add IME {insets control, IME-WM} target to History

From new WindowInsets API, showing IME visiblity will not only rely on
IME focusable window focus and knowing who calls {show, hide}SoftInput request
from client, but also the client can call getInsetsControler().{show, hide}(ime()).

Since the true IME visiblity depends on which IME InsetsControlTarget that can
show / hide IME window, we need to track when it changes for more easily debug.

And, we also need to track the z-order information such the window which
behind the soft-keyboard.

Add those targets information into SoftInputShowHideHistory for
tracking.

Fix: 156198073
Test: adb shell dumpsys input_method, check SoftInputShowHideHistory.
Change-Id: I7f0b927afcf7b19102689b680bcf07de2380bba5
parent 1bf40c21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment