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

Commit 1825ad8b authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Add null check when ActivityRecord is refetched

Fixes: 64937756

Test: nothing bad happens
Change-Id: Id88d8522586031dbe987d382ed859686bed05797
parent 9c85d966
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -13078,6 +13078,10 @@ public class ActivityManagerService extends IActivityManager.Stub
                            + " couldn't be found");
                    return null;
                }
                if (activity.app == null || activity.app.thread == null) {
                    Slog.w(TAG, "enqueueAssistContext failed: no process for " + activity);
                    return null;
                }
            }
            PendingAssistExtras pae;