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

Commit 108ab7fc authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Skip duplicated request of killing task process" into main

parents 5889d908 f80d50cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1900,7 +1900,7 @@ public class ActivityTaskSupervisor implements RecentTasks.Callbacks {
                mService.mAmInternal, task.mUserId, component, new Intent(baseIntent));
        mService.mH.sendMessage(msg);

        if (!killProcess) {
        if (!killProcess || task.mKillProcessesOnDestroyed) {
            return;
        }
        // Give a chance for the client to handle Activity#onStop(). The timeout waits for