mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-06 10:45:28 +03:00
d913f29662
We do not want to allow saving of user data on unsigned builds as they don't have a stable signature and will not properly handle reinstallation. This can lead to a situation where the user has to resort to complex techniques to completely uninstall the package such as ADB or calling into PM directly.
132 lines
5.0 KiB
XML
132 lines
5.0 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:hasFragileUserData="${shouldSaveUserData}"
|
|
android:icon="@drawable/logo_skyline"
|
|
android:isGame="true"
|
|
android:label="@string/app_name"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppTheme"
|
|
tools:ignore="GoogleAppIndexingWarning,UnusedAttribute">
|
|
|
|
<profileable android:shell="true" />
|
|
|
|
<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.preference.GpuDriverActivity"
|
|
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="sensorLandscape"
|
|
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|uiMode"
|
|
android:exported="true"
|
|
android:launchMode="singleTask">
|
|
<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="emu.skyline.provider.DocumentsProvider"
|
|
android:authorities="emu.skyline.provider"
|
|
android:exported="true"
|
|
android:grantUriPermissions="true"
|
|
android:permission="android.permission.MANAGE_DOCUMENTS">
|
|
<intent-filter>
|
|
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
|
|
</intent-filter>
|
|
</provider>
|
|
|
|
<meta-data
|
|
android:name="com.android.graphics.injectLayers.enable"
|
|
android:value="true" />
|
|
</application>
|
|
</manifest>
|