commit | 511f9145bac4c52ba444935738e5bcd2c1bd8bad | [log] [tgz] |
---|---|---|
author | Marin Shalamanov <shalamanov@google.com> | Tue Mar 16 18:03:30 2021 +0100 |
committer | Marin Shalamanov <shalamanov@google.com> | Wed Mar 24 21:34:04 2021 +0100 |
tree | b832934da8efddca75ea19859efa1b0cc2fcf075 | |
parent | 41b3b73eceddac289a51b6f70b3ccf4d8d631885 [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: I55265399238e2c95fbb90fd33a4c2513d1fc5cec