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

Commit b95db872 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

am: 4d476366

Change-Id: Ia9fcf1a9cda8a0711f703f445295d258f759b0bb
parents 44ff1b7e 4d476366
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();