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

Commit 3b45ea7f authored by Riddle Hsu's avatar Riddle Hsu Committed by Gerrit Code Review
Browse files

Merge "[Bugfix] Fix array out of bounds."

parents e79bd4da 37fd8c29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -549,8 +549,8 @@ public class TaskPersister implements PersisterQueue.Listener {
            // Write out one task.
            byte[] data = null;
            Task task = mTask;
            if (DEBUG) Slog.d(TAG, "Writing task=" + task);
            synchronized (mService.mGlobalLock) {
                if (DEBUG) Slog.d(TAG, "Writing task=" + task);
                if (task.inRecents) {
                    // Still there.
                    try {