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

Commit 2c3fecd4 authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

Merge "Avoid entering orientation changing state when seamlessly rotating." into oc-dr1-dev

am: 17844f22

Change-Id: I0ed4eb1635d525d3e82bab7b26171cd0b40a37a6
parents 8047f7ac 17844f22
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1219,8 +1219,9 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
        // TODO(b/62846907): Checking against {@link mLastReportedConfiguration} could be flaky as
        //                   this is not necessarily what the client has processed yet. Find a
        //                   better indicator consistent with the client.
        return mOrientationChanging || (isVisible()
                && getConfiguration().orientation != mLastReportedConfiguration.orientation);
        return (mOrientationChanging || (isVisible()
                && getConfiguration().orientation != mLastReportedConfiguration.orientation))
                && !mSeamlesslyRotated;
    }

    void setOrientationChanging(boolean changing) {