Merge "Ensure fitSystemWindows is called on the IME at least once." into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e2bd7be298
@@ -39,6 +39,12 @@ public class InputMethodRoot extends LinearLayout {
|
||||
super(context, attrs);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onAttachedToWindow() {
|
||||
super.onAttachedToWindow();
|
||||
requestFitSystemWindows();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean fitSystemWindows(Rect insets) {
|
||||
if (mNavigationGuard == null) {
|
||||
|
||||
Reference in New Issue
Block a user