diff options
| author | 2024-05-27 01:48:35 +0000 | |
|---|---|---|
| committer | 2024-05-27 01:48:35 +0000 | |
| commit | ec19f1f4b72d146f1d7dc08dfba43a2d55cace60 (patch) | |
| tree | 050b1f5a3a31b897578c4aeb086d5b282e93a73b | |
| parent | 9445b8756ce05280424c4520acf555ae73d29c45 (diff) | |
| parent | e84dc7d4434fdd10f5ef746d39fe392392655113 (diff) | |
Merge "Pause insets position until its provider window is drawn" into main
| -rw-r--r-- | services/core/java/com/android/server/wm/AsyncRotationController.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/wm/AsyncRotationController.java b/services/core/java/com/android/server/wm/AsyncRotationController.java index a9450c4e8587..eb85c1a73212 100644 --- a/services/core/java/com/android/server/wm/AsyncRotationController.java +++ b/services/core/java/com/android/server/wm/AsyncRotationController.java @@ -505,10 +505,10 @@ class AsyncRotationController extends FadeAnimationController implements Consume */ boolean shouldFreezeInsetsPosition(WindowState w) { // Non-change transition (OP_APP_SWITCH) and METHOD_BLAST don't use screenshot so the - // insets should keep original position before the start transaction is applied. + // insets should keep original position before the window is done with new rotation. return mTransitionOp != OP_LEGACY && (isSeamlessTransition() || TransitionController.SYNC_METHOD == BLASTSyncEngine.METHOD_BLAST) - && !mIsStartTransactionCommitted && canBeAsync(w.mToken) && isTargetToken(w.mToken); + && canBeAsync(w.mToken) && isTargetToken(w.mToken); } /** Returns true if there won't be a screen rotation animation (screenshot-based). */ |