Merge "Ensure fitSystemWindows is called on the IME at least once." into klp-dev

This commit is contained in:
John Spurlock
2013-10-11 17:27:25 +00:00
committed by Android (Google) Code Review

View File

@@ -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) {