commit | 18a0ffdb2582ac56bc59ab9f1430abf2eeb71663 | [log] [tgz] |
---|---|---|
author | Piotr Wilczyński <wilczynskip@google.com> | Mon Oct 16 15:36:37 2023 +0000 |
committer | Piotr Wilczyński <wilczynskip@google.com> | Mon Nov 20 11:18:20 2023 +0000 |
tree | 48219993ac41b52c4c47652d0dc42e76396fc9d0 | |
parent | 813da4623d2c6d80d3e23767973bf9d8284f7543 [diff] |
Create setBrightnessFromOffload method The method will be used by the offload chip to set brightness temporarily before we get a lux reading. It should not affect the short-term model. - create a new strategy for the brightness from offload - add isActive property to the session and don't use offload brightness if the session isn't active Bug: 307894098 Test: atest com.android.server.display Change-Id: Ifeef8b26a60f0a04db1937f2b03f1a43335be85e