Skip to content
Commit 466dc04d authored by Fiona Campbell's avatar Fiona Campbell
Browse files

Use -1.0f in SurfaceControl to turn off brightness

-1.0f is sent to SurfaceControl if the brightess is equal to 0.
0 was originally used; -1.0f is being used in preparation for using floating
point brightness in the whole framework.

Test: Manual
Bug: b/139959979
Change-Id: I7d72a8c39d1c225ea9c2a2651366111df3be355d
parent af30a90e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment