Loading core/java/android/app/job/JobSnapshot.java +9 −1 Original line number Diff line number Diff line Loading @@ -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? */ Loading Loading @@ -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() { Loading Loading
core/java/android/app/job/JobSnapshot.java +9 −1 Original line number Diff line number Diff line Loading @@ -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? */ Loading Loading @@ -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() { Loading