commit | 5e09609eda2919ddd40d1b6175518cbe0a3d3936 | [log] [tgz] |
---|---|---|
author | Rachel Lee <rnlee@google.com> | Tue Oct 08 13:09:44 2024 -0700 |
committer | Rachel Lee <rnlee@google.com> | Mon Oct 21 17:52:44 2024 -0700 |
tree | 10b1273afeae146189ef2db4636de789a17f9c61 | |
parent | de07519eb076ece4669c49775a2c4abd5a167c09 [diff] |
Add new Surface#setFrameRate API The new overload uses same plumbing and same logic as the other setFrameRate overloads. This plumbing and logic will be upgraded to accommodate new parameters in a future CL (e.g. for desiredMaxRate). Bug: 362798998 Test: atest SetFrameRateTest Flag: com.android.graphics.surfaceflinger.flags.arr_setframerate_api Change-Id: I45b1dab08f28d1891fd8659ee0b0b194efd5b1ff