Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16fb21c3 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Automerger Merge Worker
Browse files

Merge "Request fit system windows if soft input mode updates" into rvc-dev am: ea4fe825

Change-Id: Iff7d62fdfcee8f7f23b3fa9d6448950215521dcc
parents ce247615 ea4fe825
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -130,6 +130,7 @@ import android.view.View.MeasureSpec;
import android.view.Window.OnContentApplyWindowInsetsListener;
import android.view.Window.OnContentApplyWindowInsetsListener;
import android.view.WindowInsets.Type;
import android.view.WindowInsets.Type;
import android.view.WindowInsets.Type.InsetsType;
import android.view.WindowInsets.Type.InsetsType;
import android.view.WindowManager.LayoutParams;
import android.view.WindowManager.LayoutParams.SoftInputModeFlags;
import android.view.WindowManager.LayoutParams.SoftInputModeFlags;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityManager;
import android.view.accessibility.AccessibilityManager;
@@ -1412,6 +1413,10 @@ public final class ViewRootImpl implements ViewParent,
                        | (oldSoftInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_ADJUST);
                        | (oldSoftInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_ADJUST);
            }
            }


            if ((changes & LayoutParams.SOFT_INPUT_MODE_CHANGED) != 0) {
                requestFitSystemWindows();
            }

            mWindowAttributesChanged = true;
            mWindowAttributesChanged = true;
            scheduleTraversals();
            scheduleTraversals();
        }
        }