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

Commit 7131a7d6 authored by Adrian Roos's avatar Adrian Roos Committed by Android Git Automerger
Browse files

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

* commit 'd245ad24':
  Disable color view animations when stable insets change
parents 0a786f5f d245ad24
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;
                }