commit | 1df8bde25d3ecfcebff3d26bd9b17179212466a2 | [log] [tgz] |
---|---|---|
author | Marin Shalamanov <shalamanov@google.com> | Tue Oct 20 19:26:39 2020 +0200 |
committer | Marin Shalamanov <shalamanov@google.com> | Fri Nov 06 16:32:26 2020 +0100 |
tree | ca371221c30c9af737fa90862fe6de998260f393 | |
parent | 135dc67cc93cee92fe7455ee91139da96bc5a5ce [diff] |
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