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

Commit 4a67ad70 authored by Ikram Gabiyev's avatar Ikram Gabiyev
Browse files

Make sure mPipTask=null is logged properly

Make sure the extra logging added into RecentsController
doesn't throw NullPointerException due to toString() calls.

Bug: 322108597
Test: manually repro the steps in the bug
Change-Id: I4e698ae88a92f330ae8ecec134468c23e211cb42
parent 25bde8f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1020,7 +1020,7 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler {
                        ProtoLog.v(ShellProtoLogGroup.WM_SHELL_RECENTS_TRANSITION,
                                "RecentsController.finishInner: no valid PiP leash;"
                                        + "mPipTransaction=%s, mPipTask=%s, mPipTaskId=%d",
                                mPipTransaction.toString(), mPipTask.toString(), mPipTaskId);
                                mPipTransaction, mPipTask, mPipTaskId);
                    } else {
                        t.show(pipLeash);
                        PictureInPictureSurfaceTransaction.apply(mPipTransaction, pipLeash, t);