[hbm] Separate HBM times for multi-display devices.
This change separates High brightness mode information for different physical displays, which was currently being shared causing both displays to show similar HBM time remaining. Each display's OLED lifetime risk due to HBM is independent, so each display's HBM for SV timer should be independent. Bug: 254588984 Test: atest com.android.server.display.HbmEventTest atest com.android.server.display.HighBrightnessModeControllerTest atest com.android.server.display.HighBrightnessModeMetadataTest atest com.android.server.display.DisplayPowerControllerTest atest com.android.server.display.DisplayPowerControllerTest2 Manual testing: Manually tested this fix on multiple display devices, with high lux and forcing displays into HBM mode, and changing the displays to see if the time events are being updated correctly. $ adb shell dumpsys display | grep -i remainingtime remainingTime=274576 remainingTime=249182 Change-Id: I0ed4ad99108a1a850dae68e1f6cf92adfab8bc1d
Loading
Please register or sign in to comment