[automerger skipped] Merge "Restrict all jobs when the device is too hot." am: 5a750a5aa1 am: a92fac686c -s ours

am skip reason: Merged-In Id8eed849dfeb26aca1c0743af974c9efadf7fb78 with SHA-1 b70c941f60 is already in history

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

Change-Id: I166dcf9aff5ec7349ca76e75e71fe3e1a949a9fe