Loading core/java/android/view/ViewRootImpl.java +6 −1 Original line number Diff line number Diff line Loading @@ -793,8 +793,13 @@ public final class ViewRootImpl implements ViewParent, public void setOnContentApplyWindowInsetsListener(OnContentApplyWindowInsetsListener listener) { mAttachInfo.mContentOnApplyWindowInsetsListener = listener; // System windows will be fitted on first traversal, so no reason to request additional // (possibly getting executed after the first traversal). if (!mFirst) { requestFitSystemWindows(); } } public void addWindowCallbacks(WindowCallbacks callback) { synchronized (mWindowCallbacks) { Loading Loading
core/java/android/view/ViewRootImpl.java +6 −1 Original line number Diff line number Diff line Loading @@ -793,8 +793,13 @@ public final class ViewRootImpl implements ViewParent, public void setOnContentApplyWindowInsetsListener(OnContentApplyWindowInsetsListener listener) { mAttachInfo.mContentOnApplyWindowInsetsListener = listener; // System windows will be fitted on first traversal, so no reason to request additional // (possibly getting executed after the first traversal). if (!mFirst) { requestFitSystemWindows(); } } public void addWindowCallbacks(WindowCallbacks callback) { synchronized (mWindowCallbacks) { Loading