diff options
| author | 2023-12-28 12:07:04 -0800 | |
|---|---|---|
| committer | 2024-01-03 17:11:35 +0000 | |
| commit | 69505961330aa04346d1914c8e86112690d9f866 (patch) | |
| tree | 67d7967e18341a1ddb382ca7fe5a2747a01ba03f /libs/ultrahdr/jpegencoderhelper.cpp | |
| parent | ac759e04eb5c3a9252c861f2fad14f5094e56efb (diff) | |
nextWakeupTime should be the soonest possible time
When updating nextWakeupTime, it should always be set to the minimum of
the current value and the new value. This variable tracks when we are
going to wake up next. If we already made a decision earlier that we
need to wake up soon, the subsequent code should not change that
decision by postponing the wakeup.
Bug: 211379801
Test: TEST=inputflinger_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST
Change-Id: Ib8771f7b27047d7aa98acd68db6d214d4c364b89
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions