commit | d63d206f9751281e1d7e652727516bfc4b249667 | [log] [tgz] |
---|---|---|
author | Chris Wailes <chriswailes@google.com> | Fri Dec 04 09:53:49 2020 -0800 |
committer | Chris Wailes <chriswailes@google.com> | Fri May 14 15:42:29 2021 -0700 |
tree | 6a71b751ccc5717fd500e2a7b7dc5e9c6692029e | |
parent | 576dad467388cbf5864b3e499f3eaf7f047f6b30 [diff] |
Make BackgroundDexOpt aware of thermal state This change makes the BackgroundDexOpt service consider the thermal state of the device before running. If the device is in a moderate thermal state or worse background dexopt will not run. Bug: 165935246 Test: Treehugger && atest BackgroundDexOptServiceIntegrationTests Change-Id: Ie5ccbab7aa6d414241780136407f397d326340bf