<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
	package="com.shatteredpixel.shatteredpixeldungeon"
	android:versionCode="264"
	android:versionName="0.6.5c"
	android:installLocation="auto">
	
	<uses-feature
		android:glEsVersion="0x00020000"/>

	<!-- Note that the game doesn't truly support small screen resolutions,
		it instead forces downscaling to work on these displays.-->
	<supports-screens
		android:smallScreens="true"
		android:normalScreens="true"
		android:largeScreens="true"
		android:xlargeScreens="true"/>

	<application
		android:icon="@mipmap/ic_launcher"
		android:label="@string/app_name"
		android:theme="@android:style/Theme.Black.NoTitleBar"
		android:allowBackup="true"
		android:fullBackupOnly="true"
		android:backupAgent="com.shatteredpixel.shatteredpixeldungeon.BackupHandler">
		<activity
			android:label="@string/app_name"
			android:name="com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon"
			android:alwaysRetainTaskState="true"
			android:launchMode="singleInstance"
			android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout"
			android:screenOrientation="nosensor">
			<intent-filter >
				<action android:name="android.intent.action.MAIN" />
				<category android:name="android.intent.category.LAUNCHER" />
			</intent-filter>
		</activity>

		<!-- Workaround for a bug on Galaxy S8: max aspect must be specified or it defaults to 1.86-->
		<meta-data android:name="android.max_aspect" android:value="10.0" />
	</application>

</manifest>
