Merge "Restrict all jobs when the device is too hot."

This commit is contained in:
Treehugger Robot
2021-07-16 21:25:54 +00:00
committed by Gerrit Code Review

View File

@@ -58,7 +58,7 @@ public class ThermalStatusRestriction extends JobRestriction {
@Override
public boolean isJobRestricted(JobStatus job) {
return mIsThermalRestricted && job.hasConnectivityConstraint();
return mIsThermalRestricted;
}
@Override