Skip to content
Commit 1df8bde2 authored by Marin Shalamanov's avatar Marin Shalamanov
Browse files

Add Display.Mode.getAlternativeRefreshRates()

Add a method to Display.Mode to return all refresh rates
to which a seamless display mode switch can be done. Note
that this is not a hard guarantee for seamless switches,
but rather a guarantee that switching to any other mode
will be non seamless.

This is implemented using the config groups which we get
from SurfaceFlinger.

Bug: 161776429
Test: atest LocalDisplayAdapterTest
Change-Id: Id0e721f6c278ce9dcc04d59422b2f881a1154102
parent 135dc67c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment