Add Game Mode configuration

This commit is contained in:
Cameron Gutman 2024-02-17 18:46:28 -06:00
parent 3ea9ef1ef2
commit 613ecfff44
2 changed files with 13 additions and 0 deletions

View File

@ -77,6 +77,11 @@
android:name="com.android.graphics.intervention.wm.allowDownscale"
android:value="false"/>
<!-- Game Mode configuration -->
<meta-data
android:name="android.game_mode_config"
android:resource="@xml/game_mode_config" />
<!-- Samsung DeX support requires explicit placement of android:resizeableActivity="true"
in each activity even though it is implied by targeting API 24+ -->

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<game-mode-config
xmlns:android="http://schemas.android.com/apk/res/android"
android:supportsBatteryGameMode="false"
android:supportsPerformanceGameMode="false"
android:allowGameDownscaling="false"
android:allowGameFpsOverride="false"
/>