Assume IME_DEFAULT_HEIGHT_DP = 300.
When ime is yet to be shown but the UI is ready, then use
IME_DEFAULT_HEIGHT_DP.
For the 2nd time onwards save the actual ime height and use it when the
keyboard is not shown yet.
Bug: 285166099
Test: Manual
Change-Id: I33e38cbd5c2910f4a6dc4cc83c8dc4b6d94fbcff
- Add a feature flag for IME Latency logging.
- Removed mShowImeAfterFirstLayout from ExtendedEditText.
http://ag/1414509 added `mShowImeAfterFirstLayout`and cl description
says "Show IME when search query != null after rotation".
I verified the behavior by turning on "Allow home screen rotation".
Keyboard is not getting dismissed on rotation in AA+ screen in a-z list
or even in the search screen.
Video : https://drive.google.com/file/d/1BWUTrW9OSEo6ojErj8INMwjFCPArVD4B/view?usp=sharing&resourcekey=0-SXTcKyUw1wCSi8Bm37ktow
Bug: 240192346
Test: Manual.
Verified by setting `ENABLE_KEYBOARD_TRANSITION_SYNC` to false and for
following usecases.
- All apps entry with ime enabled, scrolling a-z list to hide keyboard
- Folder name change - showing and dismissing keyboard
- Toast entry from Allapps and QSB - showing and dismissing keyboard
Change-Id: I1a6b5759b8e71e77744f58677b6d1b73e2f633e8