| commit | 3803b8d76a0d66ae42b6dd727658c292b42e63e2 | [log] [tgz] |
|---|---|---|
| author | Ana Krulec <akrulec@google.com> | Mon Feb 03 16:35:46 2020 -0800 |
| committer | Ana Krulec <akrulec@google.com> | Fri Feb 07 16:26:20 2020 -0800 |
| tree | 71187e1b67c48fdcc614c61f03869dc589a1e3b2 | |
| parent | 01a43ca0e2c3f9dbfb830bcc3b92012490c787ac [diff] |
SF: Flag guard setFrameRate() API
- LayerHistory is now always created
- Do not use LayerHistory when content detection flag is turned off.
Bug: 148428554
Test: atest CtsGraphicsTestCases:SetFrameRateTest
Test: Play YouTube video. When content detection flag is off,
display runs at 90, otherwise at 60.
Test: adb shell /data/.../libsurfaceflinger_unittest
Change-Id: Iab8b79e16a5257c770d9ddd204cfe26d22de83b6