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

Commit 018a3b6d authored by Adrian Roos's avatar Adrian Roos Committed by Android Git Automerger
Browse files

am 7131a7d6: am d245ad24: am 024fd0c6: Disable color view animations when stable insets change

* commit '7131a7d6':
  Disable color view animations when stable insets change
parents b1ea8a53 7131a7d6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2867,11 +2867,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;
                }