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

Commit 9cd89e4b authored by Winson Chung's avatar Winson Chung
Browse files

Adding null check for task info before fetching task id

Fixes: 329000833
Test: Presubmit
Change-Id: I494a544dc050a745785d7f87bf1779c4b8beadf8
parent a2073989
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -544,7 +544,8 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler {
                    apps.add(target);
                } else {
                    ProtoLog.v(ShellProtoLogGroup.WM_SHELL_RECENTS_TRANSITION,
                            "  unhandled change taskId=%d", taskInfo.taskId);
                            "  unhandled change taskId=%d",
                            taskInfo != null ? taskInfo.taskId : -1);
                }
            }
            ProtoLog.v(ShellProtoLogGroup.WM_SHELL_RECENTS_TRANSITION,