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

Commit 17844f22 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 1b3877a9 926643f4
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) {