commit | 69b9e62fd59d084e6b50a9afd6e8074a8c59594c | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Mon Jul 19 12:24:31 2021 -0700 |
committer | Ady Abraham <adyabr@google.com> | Mon Jul 19 16:28:52 2021 -0700 |
tree | 81fdd7fbdf22f9f8defd78dab147601eff68b40f | |
parent | 6a409e17600f320134dea722247c15770030d7b2 [diff] |
SF: fix expected vsync time when changing work duration When changing the work duration for a scheduled callback, we should apply it on the next frame only if we would skip a callback call. This change fixes the condition where we apply a different work duration that doesn't change the wake up time but rather changes the expected vsync time. Test: TouchLatency bouncy ball + expand notification shade Bug: 191969790 Change-Id: I067693fe361200a6f899bd81b74d8a1a155a452d