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
Loading
Please register or sign in to comment