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

Commit 52305288 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix Desktop exit-transition code NPE" into main

parents 05fb1496 8badf561
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -268,7 +268,8 @@ public abstract class RemoteAnimationRunnerCompat extends IRemoteAnimationRunner
            // skip changes that we didn't wrap
            if (!leashMap.containsKey(change.getLeash())) continue;
            // Only make the update if we are closing Desktop tasks.
            if (change.getTaskInfo().isFreeform() && isClosingMode(change.getMode())) {
            if (change.getTaskInfo() != null && change.getTaskInfo().isFreeform()
                    && isClosingMode(change.getMode())) {
                startTransaction.setAlpha(leashMap.get(launcherChange.getLeash()), 0f);
                return;
            }