libhwc2.1: vrrController: avoid post timeout event when doze/off state

Prior to transitioning from off/doze to the normal power mode, the
system will set the active configuration. During this phase, it should
avoid posting timeout event to avoid unexpected timeouts, which could
potentially result in VRR controller state transition errors.
Instead, the timeout event will post within setPowerMode in this case.

Bug: 309873055
Test: no unexpected timeouts and pending event warnings during power
mode transition

Change-Id: I41363d2f91094297ab43b1c991747c6360277a1f
1 file changed