Merge "Restrict all jobs when the device is too hot." into sc-dev
This commit is contained in:
@@ -59,7 +59,7 @@ public class ThermalStatusRestriction extends JobRestriction {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isJobRestricted(JobStatus job) {
|
public boolean isJobRestricted(JobStatus job) {
|
||||||
return mIsThermalRestricted && job.hasConnectivityConstraint();
|
return mIsThermalRestricted;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user