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

Commit af48c76e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix bad locking." into nyc-andromeda-dev

parents 7ff50e02 ecc05c02
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -171,13 +171,13 @@ public class FileOperationService extends Service implements Job.Listener {
            }

            mWakeLock.acquire();
        }

            assert (job != null);
            if (DEBUG) Log.d(TAG, "Scheduling job " + job.id + ".");
            Future<?> future = getExecutorService(operationType).submit(job);
            mRunning.put(jobId, new JobRecord(job, future));
        }
    }

    /**
     * Cancels the operation corresponding to job id, identified in "EXTRA_JOB_ID".