Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e69b0afd authored by Andy Yu's avatar Andy Yu
Browse files

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
parent ef586bd6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment