summaryrefslogtreecommitdiffstats
path: root/remoting/android/java/AndroidManifest.xml.jinja2
blob: 5f2af0a4be3373e6ed2359010ed0dd285b9c448f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?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="14"/>
    <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"/>
    <application android:label="@string/product_name_android"
            android:icon="@drawable/chromoting128"
            android:theme="@android:style/Theme.Holo">
        <activity android:name="org.chromium.chromoting.Chromoting"
                android:configChanges="orientation|screenSize"
                android:theme="@style/MainTheme"
                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">
            <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:host="oauthredirect"/>
            </intent-filter>
        </activity>
        <activity android:name="org.chromium.chromoting.Desktop"
                android:configChanges="orientation|screenSize"
                android:windowSoftInputMode="adjustResize"/>
        <activity android:name="org.chromium.chromoting.HelpActivity"
                android:configChanges="orientation|screenSize"
                android:uiOptions="splitActionBarWhenNarrow"/>
    </application>
</manifest>