commit | d649463aa27ae1aea7101afc4684cc9422d4808a | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Wed Apr 05 11:57:38 2023 -0400 |
committer | Leon Scroggins III <scroggo@google.com> | Thu Apr 06 16:08:49 2023 -0400 |
tree | 927bf266ec021630848cdb5765e07667a95ceca9 | |
parent | fb7ed56c090725d2b39f85656e71febf637fc3e7 [diff] |
Only call onNewVsyncSchedule if the pacesetter changes When re-calculating the pacesetter display, we may end up with the same display, and therefore the same VsyncSchedule. In that case, we don't need to apply the new one. Bug: 276367387 Test: atest libsurfaceflinger_unittest:SchedulerTest Change-Id: I76750ffdba6c3d790a98b65aabbc8b13eab3b4ae