diff options
| -rw-r--r-- | services/core/java/com/android/server/wm/WindowState.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/wm/WindowState.java b/services/core/java/com/android/server/wm/WindowState.java index 81c5164534a5..414c2afccbb6 100644 --- a/services/core/java/com/android/server/wm/WindowState.java +++ b/services/core/java/com/android/server/wm/WindowState.java @@ -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) { |