Clamp brightness before saving it
If we save unclamped brightness, later we'll call ABC.configure with the unclamped value and the short-term model will be adjusted with the unclamped value which is wrong. Bug: 288368190 Test: DisplayPowerControllerTest Test: DisplayPowerController2Test Change-Id: I668b1fde3eef8a1721f3b14f16fec0c1eae3b04d
Loading
Please register or sign in to comment