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

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

Merge "Fix index out of bounds exception"

parents 60679f6b 4132620f
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -335,11 +335,14 @@ final class TaskRecord extends ThumbnailHolder {
            // Was previously in list.
            numFullscreen--;
        }
        updateEffectiveIntent();
        if (r.isPersistable()) {
            mService.notifyTaskPersisterLocked(this, false);
        }
        return mActivities.size() == 0;
        if (mActivities.isEmpty()) {
            return true;
        }
        updateEffectiveIntent();
        return false;
    }

    boolean autoRemoveFromRecents() {