Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / remoting / android / java / AndroidManifest.xml.jinja2
blobb8aaad152704e0437d9c829973bb138dd263d882
1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 package="{{ APK_PACKAGE_NAME }}">
4 <uses-sdk android:minSdkVersion="14"
5 android:targetSdkVersion="21"/>
6 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
7 <uses-permission android:name="android.permission.INTERNET"/>
8 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
9 <uses-permission android:name="android.permission.USE_CREDENTIALS"/>
10 {% if ENABLE_CARDBOARD == "1" %}
11 <uses-permission android:name="android.permission.NFC" />
12 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
13 <uses-permission android:name="android.permission.RECORD_AUDIO" />
14 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
15 {% endif %}
17 <application android:label="@string/product_name_android"
18 android:name="org.chromium.chromoting.RemotingApplication"
19 android:icon="@mipmap/logo_remote_desktop_launcher"
20 android:theme="@style/BaseTheme"
21 android:allowBackup="false">
22 <meta-data
23 android:name="com.google.android.gms.version"
24 android:value="@integer/google_play_services_version"/>
25 <meta-data
26 android:name="enable_cardboard"
27 android:value="{{ ENABLE_CARDBOARD }}"/>
28 <activity android:name="org.chromium.chromoting.Chromoting"
29 android:configChanges="orientation|screenSize"
30 android:theme="@style/BaseTheme.NavigationDrawer"
31 android:launchMode="singleTask">
32 <intent-filter>
33 <action android:name="android.intent.action.MAIN"/>
34 <category android:name="android.intent.category.LAUNCHER"/>
35 </intent-filter>
36 </activity>
37 <activity
38 android:name="org.chromium.chromoting.ThirdPartyTokenFetcher$OAuthRedirectActivity"
39 android:enabled="false"
40 android:noHistory="true">
41 <!-- TODO(kevinp): suppress once crbug.com/501593 is fixed. -->
42 <!--suppress AppIndexingError -->
43 <intent-filter>
44 <action android:name="android.intent.action.VIEW"/>
45 <category android:name="android.intent.category.DEFAULT"/>
46 <category android:name="android.intent.category.BROWSABLE"/>
47 <data android:scheme="{{ APK_PACKAGE_NAME }}"/>
48 <data android:path="/oauthredirect/"/>
49 </intent-filter>
50 </activity>
51 <activity android:name="org.chromium.chromoting.Desktop"
52 android:theme="@style/BaseTheme.Desktop"
53 android:windowSoftInputMode="adjustResize"/>
54 {% if ENABLE_CARDBOARD == "1" %}
55 <activity android:name="org.chromium.chromoting.cardboard.DesktopActivity"
56 android:theme="@style/BaseTheme.Desktop"
57 android:windowSoftInputMode="adjustResize"
58 android:screenOrientation="landscape">
59 <intent-filter>
60 <category android:name="com.google.intent.category.CARDBOARD" />
61 </intent-filter>
62 </activity>
63 {% endif %}
64 <activity android:name="org.chromium.chromoting.HelpActivity"
65 android:configChanges="orientation|screenSize"
66 android:uiOptions="splitActionBarWhenNarrow"/>
67 </application>
68 </manifest>