Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / remoting / android / java / AndroidManifest.xml.jinja2
bloba38931740d16d34d449d875b68988d6aa08a32ec
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.WRITE_EXTERNAL_STORAGE" />
14 {% endif %}
16 <application android:label="@string/product_name_android"
17 android:icon="@mipmap/logo_remote_desktop_launcher"
18 android:theme="@style/BaseTheme"
19 android:allowBackup="false">
20 <meta-data
21 android:name="com.google.android.gms.version"
22 android:value="@integer/google_play_services_version"/>
23 <activity android:name="org.chromium.chromoting.Chromoting"
24 android:configChanges="orientation|screenSize"
25 android:theme="@style/BaseTheme.NavigationDrawer"
26 android:launchMode="singleTask">
27 <intent-filter>
28 <action android:name="android.intent.action.MAIN"/>
29 <category android:name="android.intent.category.LAUNCHER"/>
30 </intent-filter>
31 </activity>
32 <activity
33 android:name="org.chromium.chromoting.ThirdPartyTokenFetcher$OAuthRedirectActivity"
34 android:enabled="false"
35 android:noHistory="true">
36 <!-- TODO(kevinp): suppress once crbug.com/501593 is fixed. -->
37 <!--suppress AppIndexingError -->
38 <intent-filter>
39 <action android:name="android.intent.action.VIEW"/>
40 <category android:name="android.intent.category.DEFAULT"/>
41 <category android:name="android.intent.category.BROWSABLE"/>
42 <data android:scheme="{{ APK_PACKAGE_NAME }}"/>
43 <data android:path="/oauthredirect/"/>
44 </intent-filter>
45 </activity>
46 <activity android:name="org.chromium.chromoting.Desktop"
47 android:configChanges="orientation|screenSize|keyboard|keyboardHidden"
48 android:theme="@style/BaseTheme.Desktop"
49 android:windowSoftInputMode="adjustResize"/>
50 {% if ENABLE_CARDBOARD == "1" %}
51 <activity android:name="org.chromium.chromoting.CardboardDesktopActivity"
52 android:configChanges="orientation|screenSize|keyboard|keyboardHidden"
53 android:theme="@style/BaseTheme.Desktop"
54 android:windowSoftInputMode="adjustResize"
55 android:screenOrientation="landscape">
56 <intent-filter>
57 <category android:name="com.google.intent.category.CARDBOARD" />
58 </intent-filter>
59 </activity>
60 {% endif %}
61 <activity android:name="org.chromium.chromoting.HelpActivity"
62 android:configChanges="orientation|screenSize"
63 android:uiOptions="splitActionBarWhenNarrow"/>
64 </application>
65 </manifest>