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:
@@ -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