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

Commit 64439aac authored by Riddle Hsu's avatar Riddle Hsu Committed by Automerger Merge Worker
Browse files

Merge "[Bugfix] Fix array out of bounds." am: 3b45ea7f am: 072daf25 am: 3ff93cac

parents d87a7fb1 3ff93cac
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 {