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

Commit 4a96c448 authored by Riddle Hsu's avatar Riddle Hsu Committed by Automerger Merge Worker
Browse files

Merge "Don't associate starting data with task when the fixed rotation started...

Merge "Don't associate starting data with task when the fixed rotation started for AE" into main am: 100904b7

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3281716



Change-Id: Idc060444accb888b8b12aba8f23d5dfa89bbc96b
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 0708cf04 100904b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1469,7 +1469,7 @@ class Task extends TaskFragment {
            // The starting window should keep covering its task when a pure TaskFragment is added
            // because its bounds may not fill the task.
            final ActivityRecord top = getTopMostActivity();
            if (top != null) {
            if (top != null && !top.hasFixedRotationTransform()) {
                top.associateStartingWindowWithTaskIfNeeded();
            }
        }