Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bdd55137 authored by sashwinbalaji's avatar sashwinbalaji
Browse files

display: brightnessThrottler to support sensor based Throttling

Use TempSensor in DisplayDeviceConfig to support custom sensor based
throttling.

If tempsensor null or empty:
	- Register for type skin (as currently done)
	- Continue with current flow
If tempsensor valud:
	- Register for type in tempsensor.type
	- In notify throttling verify notification for tempsensor.name
	- Continue with current flow

Also update below maps from hashmap to map:
- mThermalBrightnessThrottlingDataMapByThrottlingId
- mPowerThrottlingDataMapByThrottlingId

Bug: 279114539
Test: atest BrightnessThrottlerTest
Test: local build with updated config and check debug logs
Change-Id: Ib599620a73e32c748df183b8cf95b119280d0614
parent 870fd130
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