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

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

Merge "[JobScheduler] Typo fix"

parents 7fd08795 c68cef04
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -49,6 +49,14 @@ public class JobSnapshot implements Parcelable {
        return (mSatisfiedConstraints & flag) != 0;
    }

    /**
     * Returning JobInfo bound to this snapshot
     * @return JobInfo of this snapshot
     */
    public JobInfo getJobInfo() {
        return mJob;
    }

    /**
     * Is this job actually runnable at this moment?
     */
@@ -77,7 +85,7 @@ public class JobSnapshot implements Parcelable {
     */
    public boolean isRequireDeviceIdleSatisfied() {
        return !mJob.isRequireDeviceIdle()
                || satisfied(JobInfo.CONSTRAINT_FLAG_BATTERY_NOT_LOW);
                || satisfied(JobInfo.CONSTRAINT_FLAG_DEVICE_IDLE);
    }

    public boolean isRequireStorageNotLowSatisfied() {