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

Commit 19794c13 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Compare containers in mChangingContainers with Task for change...

Merge "Compare containers in mChangingContainers with Task for change transitions" into rvc-dev am: f2d6baac am: 55561fbc am: a3aa4af5

Change-Id: I3da8326d91ab423e88c3e78bfeb10c7f1386959e
parents d6d69107 a3aa4af5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -387,9 +387,11 @@ class RemoteAnimationController implements DeathRecipient {
        int getMode() {
            final DisplayContent dc = mWindowContainer.getDisplayContent();
            final ActivityRecord topActivity = mWindowContainer.getTopMostActivity();
            // Note that opening/closing transitions are per-activity while changing transitions
            // are per-task.
            if (dc.mOpeningApps.contains(topActivity)) {
                return RemoteAnimationTarget.MODE_OPENING;
            } else if (dc.mChangingContainers.contains(topActivity)) {
            } else if (dc.mChangingContainers.contains(mWindowContainer)) {
                return RemoteAnimationTarget.MODE_CHANGING;
            } else {
                return RemoteAnimationTarget.MODE_CLOSING;