SF: fix a bug when render frame rate range is lower then supported
Ideally DisplayManager should know what is the min supported frame rate
that SF allows, and send the policy accordingly. This is a more elaborate
fix that will be coming as part of b/292105422. For now we fix it in SF
by just ignoring the render frame rate when we can't find any frame rate
that is allowed by the policy.
Bug: 292047939
Bug: 291172084
Test: atest android.graphics.cts.FrameRateOverrideTest
Change-Id: Id053a07eec2525ecbe1156ad46f649956a06a03b
Merged-In: Id053a07eec2525ecbe1156ad46f649956a06a03b
(cherry picked from commit 41bf7c63078d8fce42ff2484359e859c89b56d6d)
(cherry picked from commit 0cfcc70e1d9d8025283f4629fdf0de6acc66fa37)
2 files changed