Merge "Restrict all jobs when the device is too hot." into sc-dev am: ab7b0e8991

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

Change-Id: I7f136c70b4a436ce13b3403a9a0a8311f1858e9d
This commit is contained in:
Kweku Adams
2021-07-14 15:41:13 +00:00
committed by Automerger Merge Worker

View File

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