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

am: 17844f2257

Change-Id: Ic1d7779f66958961da22230187f71310d9fedec8
This commit is contained in:
Robert Carr
2017-08-07 10:49:05 +00:00
committed by android-build-merger

View File

@@ -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) {