Skip to content
Commit 25fd6737 authored by Michael Wright's avatar Michael Wright
Browse files

Use exact brightnesses values for comparison.

Using BrightnessSynchronizer introduced an epsilon value in the
comparison. This meant it was possible for brightness changes to never
reach min or max if they were made in sufficiently small steps. Given:

1) The need to reach both min and max brightnesses.

2) The increased resolution of brightness controls on devices.

3) The desire to make the framework as independent as possible of
brightness resolution.

we no longer allow for an epsilon delta.

Fixes: 191935286
Test: manual

Change-Id: Ie4872fa81aa6f23799cd6b4dfdbfd2a61ec6ce7a
parent 77a21b70
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment