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
Loading
Please register or sign in to comment