OSDN Git Service

Decrease frequency of high temp warnings
authorAndrew Sapperstein <asapperstein@google.com>
Wed, 25 Jan 2017 00:38:50 +0000 (16:38 -0800)
committerAndrew Sapperstein <asapperstein@google.com>
Wed, 25 Jan 2017 00:38:50 +0000 (16:38 -0800)
commit97bfa0f17d8f16d487ea8b775e95ba6b718848fd
treea10d5b09826ade4d216d4895a374f94ded3c057e
parent0a26aa9b31647de85122a47349d66fd67171a688
Decrease frequency of high temp warnings

Instead of showing any time the temp is above throttling temp,
if the user has dismissed the notification (or clicked it), the notification
will not reshow until the temperature has gone below the throttling
temp and come back.

Test: manual
Change-Id: I4cef9144dfcff03a5e70ccd5b12efaab1e74d15b
Fixes: 34346625
packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java