summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorSherry Huang <huangsherry@google.com>2019-08-03 02:36:44 +0800
committerWei Wang <wvw@google.com>2019-08-05 23:09:27 +0000
commit9b78673350e8edb1ce66edd7d764c05f0ae257c7 (patch)
tree2c4f9d723cc78178cf58065282552010b2523647 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent46b82fd3cebfa4fc5f85f6c7d50fa18ae7cf8720 (diff)
Only show the thermal shutdown warning when thermal reboot
showThermalShutdownWarning() is on the path where systemui starts and restarts. Previously, we just checked the boot reason in determining whether to show the warning, which makes it unexpectedly seen when systemui restarts from crashes. This CL caches the last boot count and compares with the current one to ensure that there is a thermal reboot before the warning is shown. Test: atest PowerUITest Bug: 138089094 Change-Id: I0a51d00703d291ba10a6ab4f348308a14000a20e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions