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

Commit 61e70d32 authored by Chris Li's avatar Chris Li
Browse files

Fix NPE in RemoteTransitionCompat

Bug: 193565751
Test: pass failed launcher test with shell transition
Change-Id: I1f876c1486cc68ce9aa409ea973f5db7e7f58efd
parent c9d779ca
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -131,12 +131,13 @@ public class RemoteTransitionCompat implements Parcelable {
                        t.setLayer(leashMap.get(change.getLeash()),
                                info.getChanges().size() * 3 - i);
                        final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo();
                        if (taskInfo != null) {
                            pausingTask = change.getTaskInfo().token;
                        if (taskInfo == null) {
                            continue;
                        }
                        pausingTask = taskInfo.token;
                        if (taskInfo.pictureInPictureParams != null
                                && taskInfo.pictureInPictureParams.isAutoEnterEnabled()) {
                            pipTask = change.getTaskInfo().token;
                            pipTask = taskInfo.token;
                        }
                    }
                }