commit | 85658a1bd5865ee2c19039262dc55c77e8ba4a86 | [log] [tgz] |
---|---|---|
author | linpeter <linpeter@google.com> | Thu Dec 29 09:39:14 2022 +0800 |
committer | linpeter <linpeter@google.com> | Thu Jan 12 20:33:04 2023 +0800 |
tree | 867ab156b84fd3787a2611072f2dbdfb484d9bf9 | |
parent | 3dd864dd14c84df4a012e9513ac56089ab093b38 [diff] |
Allow to apply first brightness as -1 The initial brightness is -1 in DisplayDevice. It won't apply the brightness(-1) for the first brightness. This allow an caller to set the brightness to -1 Bug: 254657816 test: atest libsurfaceflinger_unittest:SetDisplayBrightnessTest Change-Id: I3a87d0b505b8bf8ce411c86a061376aadba42a88 Merged-In: I3a87d0b505b8bf8ce411c86a061376aadba42a88