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

* commit 'b8818120ce58b54c7f4f4a1b42f1513bfda34129':
  Ensure fitSystemWindows is called on the IME at least once.
This commit is contained in:
John Spurlock
2013-10-11 10:32:16 -07:00
committed by Android Git Automerger

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