Merge "Throttle jobs when thermal status is in THROTTLING_SEVERE and above"

This commit is contained in:
Wei Wang
2018-12-07 19:17:40 +00:00
committed by Android (Google) Code Review
4 changed files with 57 additions and 1 deletions

View File

@@ -47,6 +47,8 @@ public class JobParameters implements Parcelable {
public static final int REASON_TIMEOUT = JobProtoEnums.STOP_REASON_TIMEOUT; // 3.
/** @hide */
public static final int REASON_DEVICE_IDLE = JobProtoEnums.STOP_REASON_DEVICE_IDLE; // 4.
/** @hide */
public static final int REASON_DEVICE_THERMAL = JobProtoEnums.STOP_REASON_DEVICE_THERMAL; // 5.
/** @hide */
public static String getReasonName(int reason) {