diff options
| author | 2023-12-11 13:16:58 -0800 | |
|---|---|---|
| committer | 2023-12-11 15:39:12 -0800 | |
| commit | e69b0afd7abcdca966c895e0986eb8736e3e2593 (patch) | |
| tree | 7e6252f031a7edfb8d371b76832f108a275b9b46 /libs/androidfw/FileStream.cpp | |
| parent | ef586bd6ff728974af66efd5cd732790f325c8db (diff) | |
Set Game Default Frame Rate to 60 when sysprop not set
In previous patch, when the sysprop controlling the game
default frame rate,
"ro.surface_flinger.game_default_frame_rate_override",
is not set, it will not have any effect.
This patch sets the frame rate to 60 if
"ro.surface_flinger.game_default_frame_rate_override"
is not otherwise set to a different value.
Bug: 286084594
Test: atest GameManagerServiceTests
      atest CtsGraphicsTestCases --test-filter "SetFrameRateTest*"
      atest CtsFrameRateOverrideTestCases
Change-Id: Ia14cfa831b1418d6d2e22a77235f2ae07394a9f5
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions