mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 03:35:46 +00:00
MERGE: Improve Gamehub support (#128)
Added support for many different game hub apps. Sorry about pushing meant to push on my branch. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/128 Co-authored-by: Bix <xq9zp7f2@proton.me> Co-committed-by: Bix <xq9zp7f2@proton.me>
This commit is contained in:
parent
4235492079
commit
e2f4c16d27
2 changed files with 15 additions and 22 deletions
|
@ -4,6 +4,10 @@
|
|||
SPDX-FileCopyrightText: 2023 yuzu Emulator Project
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
-->
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Eden Emulator Project
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
|
||||
|
@ -16,6 +20,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
||||
<uses-permission android:name="android.permission.VIBRATE" />
|
||||
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" android:required="false" />
|
||||
|
||||
<application
|
||||
android:name="org.yuzu.yuzu_emu.YuzuApplication"
|
||||
|
@ -31,23 +36,19 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
android:dataExtractionRules="@xml/data_extraction_rules_api_31"
|
||||
android:enableOnBackInvokedCallback="true">
|
||||
|
||||
<meta-data
|
||||
android:name="com.samsung.android.gamehub"
|
||||
android:value="true" />
|
||||
<meta-data android:name="com.samsung.android.gamehub" android:value="true" />
|
||||
<meta-data android:name="com.xiaomi.gamecenter.sdk.service.enabled" android:value="true" />
|
||||
<meta-data android:name="com.asus.gamecenter.gamebooster" android:value="true" />
|
||||
<meta-data android:name="com.oneplus.gamespace.gamebooster" android:value="true" />
|
||||
<meta-data android:name="android.game_mode_config" android:resource="@xml/game_mode_config" />
|
||||
|
||||
<meta-data
|
||||
android:name="android.game_mode_config"
|
||||
android:resource="@xml/game_mode_config" />
|
||||
|
||||
<activity
|
||||
android:name="org.yuzu.yuzu_emu.ui.main.MainActivity"
|
||||
android:exported="true"
|
||||
android:theme="@style/Theme.Yuzu.Splash.Main">
|
||||
|
||||
<!-- This intentfilter marks this Activity as the one that gets launched from Home screen. -->
|
||||
<intent-filter>
|
||||
<action android:name="com.miui.gamecenter.GAME_BOOSTER_LAUNCH"/>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
<category android:name="android.intent.category.GAME" />
|
||||
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
|
||||
|
@ -66,24 +67,17 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
android:supportsPictureInPicture="true"
|
||||
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|uiMode"
|
||||
android:exported="true">
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.nfc.action.TECH_DISCOVERED" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<data android:mimeType="application/octet-stream" />
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<data
|
||||
android:mimeType="application/octet-stream"
|
||||
android:scheme="content"/>
|
||||
<data android:mimeType="application/octet-stream" android:scheme="content"/>
|
||||
</intent-filter>
|
||||
|
||||
<meta-data
|
||||
android:name="android.nfc.action.TECH_DISCOVERED"
|
||||
android:resource="@xml/nfc_tech_filter" />
|
||||
<meta-data android:name="android.nfc.action.TECH_DISCOVERED" android:resource="@xml/nfc_tech_filter" />
|
||||
</activity>
|
||||
|
||||
<provider
|
||||
|
@ -98,5 +92,4 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
</provider>
|
||||
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
</manifest>
|
|
@ -4,4 +4,4 @@
|
|||
android:supportsBatteryGameMode="true"
|
||||
android:supportsPerformanceGameMode="true"
|
||||
android:allowGameDownscaling="false"
|
||||
android:allowGameFpsOverride="false"/>
|
||||
android:allowGameFpsOverride="false"/>
|
Loading…
Add table
Add a link
Reference in a new issue