Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a92fac68 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

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

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

Change-Id: Ifa4a464064ac71b26372a2afe760912c22431e76
parents 951a22e8 5a750a5a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ public class ThermalStatusRestriction extends JobRestriction {

    @Override
    public boolean isJobRestricted(JobStatus job) {
        return mIsThermalRestricted && job.hasConnectivityConstraint();
        return mIsThermalRestricted;
    }

    @Override