mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-09-22 13:15:29 -04:00
fix: Add gamemode API config
This commit is contained in:
1 parent
c1ae6b829f
commit
c11e6f9958
2 files changed
+11
-1
No files matched your search
@@ -21,7 +21,8 @@
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC"/>
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE"/>
|
||||
<uses-permission android:name="android.permission.VIBRATE" />
|
||||
|
||||
<meta-data android:name="android.game_mode_config"
|
||||
android:resource="@xml/game_mode_config" />
|
||||
<application
|
||||
android:name=".PojavApplication"
|
||||
android:allowBackup="true"
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Disables OEM "optimizations" because we tell it "we'll apply our own, trust".-->
|
||||
<game-mode-config
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:allowGameDownscaling="false"
|
||||
android:allowGameFpsOverride="false"
|
||||
android:supportsBatteryGameMode="true"
|
||||
android:supportsPerformanceGameMode="true"
|
||||
/>
|
||||
Reference in new issue
Block a user