<?xml version="1.0" encoding="utf-8"?>
<!-- BEGIN_INCLUDE(manifest) -->

<!-- Required for custom Java code:
  - android:hasCode="true"
  - android:name="net.sourceforge.castleengine.MainActivity"
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="${QUALIFIED_NAME}"
    android:installLocation="auto">

    <!-- See http://developer.android.com/reference/android/app/NativeActivity.html
      for example manifest using NativeActivity.
      See https://guides.gameanalytics.com/content/sdk?page=android&step=2
      about android:configChanges notes.
    -->
    <application
        android:label="@string/app_name"
        android:icon="@mipmap/ic_launcher"
        android:hasCode="true">
        <activity android:name="net.sourceforge.castleengine.MainActivity"
                android:theme="@style/AppTheme"
                android:launchMode="singleTask"
                android:configChanges="orientation|screenSize|keyboardHidden"
                android:screenOrientation="${ANDROID_SCREEN_ORIENTATION}">
            <!-- NativeActivity must know the name of our library with JNI callbacks. -->
            <meta-data android:name="android.app.lib_name"
                       android:value="${ANDROID_LIBRARY_NAME}" />
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
${ANDROID_ASSOCIATE_DOCUMENT_TYPES}
        </activity>
    </application>

    <uses-feature android:glEsVersion="0x00020000"/>

    ${ANDROID_SCREEN_ORIENTATION_FEATURE}
</manifest>
<!-- END_INCLUDE(manifest) -->
