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

Commit a4a54580 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Insets: Allow animations when setting SYSTEM_UI_LAYOUT_* flags" into...

Merge "Insets: Allow animations when setting SYSTEM_UI_LAYOUT_* flags" into rvc-dev am: 9cf79413 am: 0bdf1caf

Change-Id: I763703e7a88ff4effe312386b7f64386522e3528
parents eb44c991 0bdf1caf
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -7298,7 +7298,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
        boolean isOptionalFitSystemWindows = (mViewFlags & OPTIONAL_FITS_SYSTEM_WINDOWS) != 0
                || isFrameworkOptionalFitsSystemWindows();
        if (isOptionalFitSystemWindows && mAttachInfo != null
                && mAttachInfo.mContentOnApplyWindowInsetsListener != null) {
                && mAttachInfo.mContentOnApplyWindowInsetsListener != null
                && (getWindowSystemUiVisibility() & SYSTEM_UI_LAYOUT_FLAGS) == 0) {
            return false;
        }

@@ -7322,7 +7323,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
                || isFrameworkOptionalFitsSystemWindows();
        if (isOptionalFitSystemWindows && mAttachInfo != null
                && getListenerInfo().mWindowInsetsAnimationCallback == null
                && mAttachInfo.mContentOnApplyWindowInsetsListener != null) {
                && mAttachInfo.mContentOnApplyWindowInsetsListener != null
                && (getWindowSystemUiVisibility() & SYSTEM_UI_LAYOUT_FLAGS) == 0) {
            mInsetsAnimationDispatchMode = DISPATCH_MODE_STOP;
            return;
        }