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

Commit 4985311b authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "Don't change task type for launcher activities."

parents f24e16aa 7873300a
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ final class TaskRecord extends ThumbnailHolder {
    /** Current stack */
    ActivityStack stack;

    private boolean mApplicationTask;
    private boolean mApplicationTask = true;

    TaskRecord(int _taskId, ActivityInfo info, Intent _intent, ActivityStack _stack) {
        taskId = _taskId;
@@ -164,7 +164,10 @@ final class TaskRecord extends ThumbnailHolder {
            // Was not previously in list.
            numFullscreen++;
        }
        // Only set this to be an application task if it has not already been set as home task.
        if (mApplicationTask) {
            mApplicationTask = r.isApplicationActivity();
        }
        mActivities.add(index, r);
    }