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

Commit 34c28165 authored by Adrian Roos's avatar Adrian Roos Committed by Android (Google) Code Review
Browse files

Merge "Disable color view animations when stable insets change"

parents baeb0dfc 76f25f4a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2852,11 +2852,11 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
                    // indicates that the window was either just added and received them for the
                    // first time, or the window size or position has changed.
                    boolean hasTopStableInset = insets.getStableInsetTop() != 0;
                    disallowAnimate |= hasTopStableInset && !mLastHasTopStableInset;
                    disallowAnimate |= (hasTopStableInset != mLastHasTopStableInset);
                    mLastHasTopStableInset = hasTopStableInset;

                    boolean hasBottomStableInset = insets.getStableInsetBottom() != 0;
                    disallowAnimate |= hasBottomStableInset && !mLastHasBottomStableInset;
                    disallowAnimate |= (hasBottomStableInset != mLastHasBottomStableInset);
                    mLastHasBottomStableInset = hasBottomStableInset;
                }