blob: 150043b497fe712ec998d1b7fc2b5eb773529925 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="{{ APK_PACKAGE_NAME }}">
<uses-sdk android:minSdkVersion="14"
android:targetSdkVersion="21"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
<uses-permission android:name="android.permission.USE_CREDENTIALS"/>
{% if ENABLE_CARDBOARD == "1" %}
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
{% endif %}
<application android:label="@string/product_name_android"
android:icon="@mipmap/logo_remote_desktop_launcher"
android:theme="@style/BaseTheme"
android:allowBackup="false">
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"/>
<meta-data
android:name="enable_cardboard"
android:value="{{ ENABLE_CARDBOARD }}"/>
<activity android:name="org.chromium.chromoting.Chromoting"
android:configChanges="orientation|screenSize"
android:theme="@style/BaseTheme.NavigationDrawer"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity
android:name="org.chromium.chromoting.ThirdPartyTokenFetcher$OAuthRedirectActivity"
android:enabled="false"
android:noHistory="true">
<!-- TODO(kevinp): suppress once crbug.com/501593 is fixed. -->
<!--suppress AppIndexingError -->
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="{{ APK_PACKAGE_NAME }}"/>
<data android:path="/oauthredirect/"/>
</intent-filter>
</activity>
<activity android:name="org.chromium.chromoting.Desktop"
android:theme="@style/BaseTheme.Desktop"
android:windowSoftInputMode="adjustResize"/>
{% if ENABLE_CARDBOARD == "1" %}
<activity android:name="org.chromium.chromoting.CardboardDesktopActivity"
android:theme="@style/BaseTheme.Desktop"
android:windowSoftInputMode="adjustResize"
android:screenOrientation="landscape">
<intent-filter>
<category android:name="com.google.intent.category.CARDBOARD" />
</intent-filter>
</activity>
{% endif %}
<activity android:name="org.chromium.chromoting.HelpActivity"
android:configChanges="orientation|screenSize"
android:uiOptions="splitActionBarWhenNarrow"/>
</application>
</manifest>