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

Commit 5957d6a8 authored by Craig Mautner's avatar Craig Mautner Committed by Gerrit Code Review
Browse files

Merge "Fix frontOfTask assignment."

parents d24f5577 ec4e780e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -173,6 +173,11 @@ final class TaskRecord extends ThumbnailHolder {
                foundFront = true;
            }
        }
        if (!foundFront && numActivities > 0) {
            // All activities of this task are finishing. As we ought to have a frontOfTask
            // activity, make the bottom activity front.
            mActivities.get(0).frontOfTask = true;
        }
    }

    /**