summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Rupesh Bansal <brup@google.com> 2024-05-15 17:55:18 +0000
committer Rupesh Bansal <brup@google.com> 2024-05-27 17:28:23 +0000
commit8281f6044540808d960844adf1633c8da814b224 (patch)
treeb72694ee5275074b3047dddc18edb87131fc5480 /libs/input/PointerController.cpp
parent8a6e0bfb1683ca30afb8d5166c02d21eb29e726f (diff)
Maintaining lux buffers since elapsed time and not uptime
We have historically preserved the lux buffers over a configurable long horizon values since the clock uptime. However, the time when android is sleeping is not accounted for in this, which is why the lux buffers can go incorrect. Changing this to uptime, and also using the exact time at which a sensor event was emitted to maintain the bufffer Test: atest AutomaticBrightnessControllerTest Bug: 341219242 Change-Id: I6b5c5b2c8754ddcd97249fcaf89b1575a865d4d8
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions