mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 16:35:29 +03:00
661396fc97
Fix a bug where attempting to launch Skyline from the launcher while emulation was in progress would result in `MainActivity` launching rather than `EmulationActivity`. We always want `EmulationActivity` to stay on top of the stack and be launched whenever Skyline is resumed, no other activity should be able to run in parallel to `EmulationActivity` in any user-accessible manner.
117 lines
4.5 KiB
XML
117 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="emu.skyline">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
|
|
<uses-feature
|
|
android:name="android.hardware.vulkan.version"
|
|
android:required="true"
|
|
android:version="0x401000" />
|
|
|
|
<application
|
|
android:name=".SkylineApplication"
|
|
android:allowBackup="true"
|
|
android:extractNativeLibs="true"
|
|
android:fullBackupContent="@xml/backup_descriptor"
|
|
android:icon="@drawable/logo_skyline"
|
|
android:isGame="true"
|
|
android:label="@string/app_name"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppTheme"
|
|
tools:ignore="GoogleAppIndexingWarning,UnusedAttribute">
|
|
<activity
|
|
android:name="emu.skyline.MainActivity"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name="emu.skyline.SettingsActivity"
|
|
android:exported="true"
|
|
android:label="@string/settings"
|
|
android:parentActivityName="emu.skyline.MainActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value="emu.skyline.MainActivity" />
|
|
</activity>
|
|
|
|
<activity
|
|
android:name="emu.skyline.input.ControllerActivity"
|
|
android:exported="true">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value="emu.skyline.SettingsActivity" />
|
|
</activity>
|
|
|
|
<activity
|
|
android:name="emu.skyline.input.onscreen.OnScreenEditActivity"
|
|
android:exported="true"
|
|
android:screenOrientation="landscape"
|
|
tools:ignore="LockedOrientationActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value="emu.skyline.input.ControllerActivity" />
|
|
</activity>
|
|
|
|
<activity
|
|
android:name="emu.skyline.EmulationActivity"
|
|
android:configChanges="orientation|screenSize"
|
|
android:exported="true"
|
|
android:launchMode="singleTask"
|
|
android:screenOrientation="landscape"
|
|
tools:ignore="LockedOrientationActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value="emu.skyline.MainActivity" />
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data
|
|
android:mimeType="application/nro"
|
|
android:pathPattern=".*\\.nro"
|
|
android:scheme="content"
|
|
tools:ignore="AppLinkUrlError" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data
|
|
android:mimeType="text/plain"
|
|
android:pathPattern=".*\\.nro"
|
|
android:scheme="content"
|
|
tools:ignore="AppLinkUrlError" />
|
|
<data
|
|
android:mimeType="application/octet-stream"
|
|
android:pathPattern=".*\\.nro"
|
|
android:scheme="content"
|
|
tools:ignore="AppLinkUrlError" />
|
|
<data
|
|
android:mimeType="application/nro"
|
|
android:scheme="content"
|
|
tools:ignore="AppLinkUrlError" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<provider
|
|
android:name="androidx.core.content.FileProvider"
|
|
android:authorities="skyline.emu.fileprovider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/filepaths" />
|
|
</provider>
|
|
</application>
|
|
</manifest>
|