commit | 06d0c27a547d70a7ae34a5652ad13754cd8a86bc | [log] [tgz] |
---|---|---|
author | Fiona Campbell <flc@google.com> | Wed Jul 29 11:40:30 2020 +0100 |
committer | Fiona Campbell <flc@google.com> | Wed Jul 29 11:44:35 2020 +0100 |
tree | 6edcdc94d7aac38cbdc1b7cbdfce55356a44d224 | |
parent | 2d727a0cf104b4021429a5962d8e157896f5e54f [diff] |
Simplify BrightnessSynchronizer Using the 0.0-1.0 scale for these operations is equivalent to using a constrained scale. Therefore using the hardcoded PowerManager values is more efficient. The context parameter has also been removed from these methods since this is no longer necessary to get stored PowerManager values. Bug: 162398030 Test: manual - test with different brightness constraints. Change-Id: Ie18e73b6f1b3effdbaf7e35eab14d51034442d07