commit | 002e656a515da3f1d19f1d23ab7b776df3cfd77d | [log] [tgz] |
---|---|---|
author | Santos Cordon <santoscordon@google.com> | Thu Jul 15 13:44:33 2021 +0100 |
committer | Santos Cordon <santoscordon@google.com> | Thu Jul 22 18:34:37 2021 +0100 |
tree | 933d1100291e80b1d6c82e486fcf8514bf0fd867 | |
parent | 0077afd88a42326767982d18812ccb5aa6de64ae [diff] |
SCREEN_BRIGHTNESS - map 255 to current max Since the current max can change for brightness due to high-brightnes-mode (HBM), make it so that 255 is always mapped to the current max, which can be different when in HBM or normal brightness mode. Bug: 187784093 Test: atest HighBrightnessModeControllerTest Test: manually verify 255 is used for max when in HBM or not. Change-Id: Ib0631fc12de0e8e4c7c638901d82c362e79944c3