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

Commit 9587ee02 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

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

* commit 'a2121e49':
  Fix frontOfTask assignment.
parents 12426cff a2121e49
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -178,6 +178,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;
        }
    }

    /**