skyline/app/src/main/AndroidManifest.xml

122 lines
4.4 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">
<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="${appLabel}"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning,UnusedAttribute">
<profileable android:shell="true" />
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".SettingsActivity"
android:exported="true"
android:label="@string/settings"
android:launchMode="singleTop"
android:parentActivityName=".MainActivity">
</activity>
<activity
android:name=".input.ControllerActivity"
android:exported="true"
android:parentActivityName=".SettingsActivity">
</activity>
<activity
android:name=".preference.GpuDriverActivity"
android:exported="true"
android:parentActivityName=".SettingsActivity">
</activity>
<activity
android:name=".input.onscreen.OnScreenEditActivity"
android:exported="true"
android:screenOrientation="sensorLandscape"
tools:ignore="LockedOrientationActivity"
android:parentActivityName=".input.ControllerActivity">
</activity>
<activity
android:name=".EmulationActivity"
android:configChanges="orientation|screenSize|uiMode"
android:exported="true"
android:launchMode="singleTask"
android:parentActivityName=".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=".provider.DocumentsProvider"
android:authorities="${applicationId}.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>