commit | 4c630c11b57c59aa717fcbe739b47ca515b14db0 | [log] [tgz] |
---|---|---|
author | Rupesh Bansal <brup@google.com> | Tue May 21 13:46:09 2024 +0000 |
committer | Rupesh Bansal <brup@google.com> | Tue Jun 04 15:11:56 2024 +0000 |
tree | 2e19491f78526f8f9c60faba1a2334167563b3fa | |
parent | 7e725e0696eb2e17c559e076391305fa0a781e62 [diff] |
Processing autobrightness mode in async setAutomaticScreenBrightnessMode function is currently executed from the display thread, while the automaitc brightness controller utilities should only be accessed from the power thread. To achieve this, the logic is now being executed via the handler event Bug: 341026483 Test: atest DisplayPowerControllerTest Change-Id: I0f228ee76119780dc278e37b7cf06738a3a9dee6