diff options
| author | Ian Lake <ilake@google.com> | 2017-05-24 10:23:17 -0700 |
|---|---|---|
| committer | Ian Lake <ilake@google.com> | 2017-05-24 10:23:17 -0700 |
| commit | 67c0b1b51ebc645e4ac49e5a5c488e0abfa5523c (patch) | |
| tree | 0f15b41b69c2d58850539838df596b0ae2139f6d /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | 367b880c028ac7bec7399e992b7378231da7fd61 (diff) | |
Relayout when base inner insets change
When using SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN and
fitsSystemWindows="true", there are cases when the
inner insets will change but the content insets will
remain the same.
One case where this happens is when using
windowSoftInputMode="adjustResize|stateHidden",
bringing the keyboard up, hitting the Recents button,
then going back into the app.
By issuing a requestLayout when the base inner insets
change, we ensure that the inner layout is properly
updated, avoiding an empty space where they keyboard
used to be.
Test: Run app from b/37743589#comment6
BUG: 37743589
Change-Id: I7615c51b8f4eee3971b9b95e638011c1d885b3a6
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
