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

Commit 935acee9 authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

Merge "Avoid entering orientation changing state when seamlessly rotating."...

Merge "Avoid entering orientation changing state when seamlessly rotating." into oc-dr1-dev am: 17844f22
am: 083a84c6

Change-Id: I1a00df4be76dbf998eda020ad59c5ce38096857d
parents 731b2aa2 083a84c6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1224,8 +1224,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) {