Merge "[Bugfix] Fix array out of bounds."
This commit is contained in:
@@ -549,8 +549,8 @@ public class TaskPersister implements PersisterQueue.Listener {
|
|||||||
// Write out one task.
|
// Write out one task.
|
||||||
byte[] data = null;
|
byte[] data = null;
|
||||||
Task task = mTask;
|
Task task = mTask;
|
||||||
if (DEBUG) Slog.d(TAG, "Writing task=" + task);
|
|
||||||
synchronized (mService.mGlobalLock) {
|
synchronized (mService.mGlobalLock) {
|
||||||
|
if (DEBUG) Slog.d(TAG, "Writing task=" + task);
|
||||||
if (task.inRecents) {
|
if (task.inRecents) {
|
||||||
// Still there.
|
// Still there.
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user