commit | 7518471ab69a23130b8cc6852e1b3d58809c97b2 | [log] [tgz] |
---|---|---|
author | Andrew Sapperstein <asapperstein@google.com> | Thu Jan 05 16:45:37 2017 -0800 |
committer | Andrew Sapperstein <asapperstein@google.com> | Thu Jan 05 16:45:37 2017 -0800 |
tree | 9aacf2e7ddbfd843f0fb5258cdfcae862537744d | |
parent | 54217e5c2521dc9d8ffb1a4dc8f4be2c6abbc97f [diff] |
Add temperature config for high temp warning. Adds an integer resource (config_warningTemperature) that is used to display the high temp warning. If it is set to less than 0, the value from HardwarePropertiesManager#getDeviceTemperatures( HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN, HardwarePropertiesManager.TEMPERATURE_THROTTLING) is used instead. Test: manual Bug: 30995038 Change-Id: I05aa1b5930c6c151ebac439dfd5c00b3305dc46d