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

Commit 1399d3ab authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

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

parents 4d473c65 ccc63ec8
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();