Linux: Depend on liberation-fonts package for RPMs.
[chromium-blink-merge.git] / remoting / android / java / AndroidManifest.xml.jinja2
blob0617a33812af246bda8411d675509376c23d1bed
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:windowSoftInputMode="adjustResize"/>
53 {% if ENABLE_CARDBOARD == "1" %}
54 <activity android:name="org.chromium.chromoting.cardboard.DesktopActivity"
55 android:windowSoftInputMode="adjustResize"
56 android:screenOrientation="sensorLandscape">
57 <intent-filter>
58 <category android:name="com.google.intent.category.CARDBOARD" />
59 </intent-filter>
60 </activity>
61 {% endif %}
62 <activity android:name="org.chromium.chromoting.HelpActivity"
63 android:configChanges="orientation|screenSize"
64 android:uiOptions="splitActionBarWhenNarrow">
65 <meta-data
66 android:name="android.support.PARENT_ACTIVITY"
67 android:value="org.chromium.chromoting.Chromoting"/>
68 </activity>
69 </application>
70 </manifest>