Merge "Restrict all jobs when the device is too hot." am: 5a750a5aa1

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1766505

Change-Id: Ifa4a464064ac71b26372a2afe760912c22431e76
This commit is contained in:
Treehugger Robot
2021-07-16 22:00:01 +00:00
committed by Automerger Merge Worker

View File

@@ -58,7 +58,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