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

Commit 4d476366 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by android-build-merger
Browse files

Merge "Work on issue #62095840: NPE in JobParamteres in the background" into oc-dev

am: 1399d3ab

Change-Id: I49169ce6f6559d9bfad36693b1582b2d810380b6
parents e775158c 1399d3ab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -210,6 +210,9 @@ public abstract class JobServiceEngine {
     * information.
     */
    public void jobFinished(JobParameters params, boolean needsReschedule) {
        if (params == null) {
            throw new NullPointerException("params");
        }
        Message m = Message.obtain(mHandler, MSG_JOB_FINISHED, params);
        m.arg2 = needsReschedule ? 1 : 0;
        m.sendToTarget();