diff options
author | Steven Thomas <steventhomas@google.com> | 2020-05-11 17:45:36 -0700 |
---|---|---|
committer | Steven Thomas <steventhomas@google.com> | 2020-05-16 21:23:42 -0700 |
commit | d3f82689bfff9695cee773e226a9780328a2af0a (patch) | |
tree | 15c1624c41ab43085447969a5647c0356341f001 /keystore/java/android/security/KeyChain.java | |
parent | 33ecd88317803ca2d48c64f52441ff5c2124fe08 (diff) |
Add default frame rate setting
Add a new priority PRIORITY_DEVICE_PEAK_REFRESH_RATE, and a new config
setting config_defaultRefreshRate which maps to that priority. This
allows an OEM to easily specify a default frame rate different from the
peak frame rate.
Bug: 148978450
Bug: 154648391
Test: - Added new unit tests to verify DisplayModeDirector handles min,
peak, and default refresh rate settings correctly.
- Modified a Pixel 4 to set config_defaultRefreshRate to 60Hz, confirmed
we default to 60, but that an app calling setFrameRate(90) switches us
to 90.
- Confirmed that the "smooth display" and "force 90Hz" options on Pixel
4 work correctly.
Change-Id: I00c82eea39a914b5b38506dd3143feb936749254
Diffstat (limited to 'keystore/java/android/security/KeyChain.java')
0 files changed, 0 insertions, 0 deletions