Add Game Default Frame Rate calls
Update Game mode intervention frame rate override and add game default frame rate override JNI calls to SurfaceFlinger. Game default frame rate depends on two sysprops: To determine if it's enabled: 1) persist.graphics.game_default_frame_rate.enabled To determine the default frame rate value: 2) ro.surface_flinger.game_default_frame_rate_override This change adds setGameDefaultFrameRateOverride to call into SurfaceFlinger. Meanwhile it also changes the original override call to setGameModeFrameRateOverride to differenitate between those two calls. Bug: 286084594 Test: atest GameManagerServiceTests Change-Id: I68f93e79fda5457303b49d0bd8f0edbb14e01b3f
Loading
Please register or sign in to comment