libhwc2.1: vrrController: skip the fence vsync flow if it is invalid

When present, the fence may be invalid, for example, in the case of a
frame drop. In such instances, we should disregard the flow that checks
the fence release time

Bug: 308799167
Test: verify that when fence is invalid, the onPresent() will be skipped
Change-Id: I5dfc9f5672ee3528bc226fa4a7bafefe0abeb784
2 files changed