Skip to content

Commit

Permalink
Android UI Overhaul Part 3 (#7216)
Browse files Browse the repository at this point in the history
* android: Rework Emulation Activity's UI

- New in-game menu
- Ability to open games from file manager
- New shader loading UI
- Fixes an issue where the system bars would stay visible during emulation

* android: Port yuzu's foreground service logic

Fixes an issue where the foreground service notification would be stuck with no way to dismiss it
  • Loading branch information
t895 authored Nov 30, 2023
1 parent 0ed909e commit 59beeac
Show file tree
Hide file tree
Showing 42 changed files with 2,307 additions and 1,563 deletions.
13 changes: 11 additions & 2 deletions src/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,18 @@
<activity
android:name="org.citra.citra_emu.activities.EmulationActivity"
android:exported="true"
android:resizeableActivity="false"
android:theme="@style/Theme.Citra.Main"
android:launchMode="singleTop"/>
android:launchMode="singleTop">

<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" />
</intent-filter>

</activity>

<service android:name="org.citra.citra_emu.utils.ForegroundService" android:foregroundServiceType="specialUse">
<property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" android:value="Keep emulation running in background"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ object NativeLibrary {

@Keep
@JvmStatic
fun landscapeScreenLayout(): Int = EmulationMenuSettings.getLandscapeScreenLayout()
fun landscapeScreenLayout(): Int = EmulationMenuSettings.landscapeScreenLayout

@Keep
@JvmStatic
Expand Down

This file was deleted.

Loading

0 comments on commit 59beeac

Please sign in to comment.