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: Iebee854e70a093e5979612bb3f7fe8dd8d0f83f3
This commit is contained in:
@@ -59,7 +59,7 @@ public class ThermalStatusRestriction extends JobRestriction {
|
||||
|
||||
@Override
|
||||
public boolean isJobRestricted(JobStatus job) {
|
||||
return mIsThermalRestricted && job.hasConnectivityConstraint();
|
||||
return mIsThermalRestricted;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user