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

Commit 45bbc783 authored by Louis Chang's avatar Louis Chang
Browse files

Fix DocumentsUI unable to launch

The root activity of the task was finished while reset tasks.

Bug: 147223901
Test: atest IntentTests
Change-Id: I1a72b741096fec01f46220ef4420207e529e05be
parent 2d3c66da
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -91,6 +91,9 @@ class ResetTargetTaskHelper {
    }

    private boolean processActivity(ActivityRecord r, boolean isTargetTask) {
        // End processing if we have reached the root.
        if (r == mRoot) return true;

        mAllActivities.add(r);
        final int flags = r.info.flags;
        final boolean finishOnTaskLaunch =