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

Commit 75dc9900 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 9587ee02: am a2121e49: am 5957d6a8: Merge "Fix frontOfTask assignment."

* commit '9587ee02':
  Fix frontOfTask assignment.
parents 4fb48d24 9587ee02
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -286,6 +286,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;
        }
    }

    /**