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" />
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">
23 android:
name=
"com.google.android.gms.version"
24 android:
value=
"@integer/google_play_services_version"/>
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">
33 <action android:
name=
"android.intent.action.MAIN"/>
34 <category android:
name=
"android.intent.category.LAUNCHER"/>
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 -->
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/"/>
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">
58 <category android:
name=
"com.google.intent.category.CARDBOARD" />
62 <activity android:
name=
"org.chromium.chromoting.HelpActivity"
63 android:
configChanges=
"orientation|screenSize"
64 android:
uiOptions=
"splitActionBarWhenNarrow">
66 android:
name=
"android.support.PARENT_ACTIVITY"
67 android:
value=
"org.chromium.chromoting.Chromoting"/>