Skip to content
Commit fb95e121 authored by Todd Poynor's avatar Todd Poynor
Browse files

PowerUI: Update temperature warnings on thermal throttling events

Subscribe to thermal throttling start/stop events from thermalservice,
if the vendor thermal management subsystem supports push notifications
of throttling events.  Update temperature warnings immediately when
throttling start/stop events are received.

Fixup existing comment to reflect current code regarding default warning
temperature value.

Bug: 66698613
Test: PowerNotificationWarningsTest, PowerUITest,
      manual: taimen with artificially low temperature threshold and
      logcat debugging messages

Change-Id: I021bcd0d06af861fd3a18a1790815a836659cee6
parent 7d9d0bb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment