commit | c5986778d0d6c7ab3f96fafb1b84887e901ed92b | [log] [tgz] |
---|---|---|
author | Marin Shalamanov <shalamanov@google.com> | Tue Mar 16 16:09:49 2021 +0100 |
committer | Marin Shalamanov <shalamanov@google.com> | Wed Mar 24 13:19:07 2021 +0100 |
tree | 8e99206a5ad1852ac86affa3e35ac51f1ba4206f | |
parent | 3b1f7bcf8fd0ca2458eb26ec31a1bddf4bf7fd43 [diff] |
setFrameRate: Make shouldBeSeamless an enum Change the shouldBeSeamless parameter to an enum in order to make the API easier to understand. This changes - SurfaceControl.setFrameRate - Surface.setFrameRate - ANativeWindow_setFrameRateWithChangeStrategy - ASurfaceTransaction_setFrameRateWithChangeStrategy Bug: 179116474 Test: atest SetFrameRateTest Change-Id: I28a8863ea77101f90b878fbda5f00d98e075b7cc