1<!--
2 * Copyright 2015 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5-->
6
7<manifest
8    xmlns:android="http://schemas.android.com/apk/res/android"
9    package="org.chromium.webview_shell"
10    android:versionCode="1"
11    android:versionName="1.0" >
12
13    <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="24" />
14
15    <!-- "Normal" permissions which do not require user prompt -->
16    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
17    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
18    <uses-permission android:name="android.permission.INTERNET" />
19    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
20    <uses-permission android:name="android.permission.USE_CREDENTIALS"/>
21
22    <!-- "Dangerous" permissions which require user prompt -->
23    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
24    <uses-permission android:name="android.permission.CAMERA"/>
25    <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
26    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
27    <uses-permission android:name="android.permission.RECORD_AUDIO"/>
28    <uses-permission android:name="android.permission.RUN_INSTRUMENTATION" />
29    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
30
31    <application
32        android:icon="@drawable/ic_launcher"
33        android:label="@string/app_name"
34        android:theme="@android:style/Theme.Light" >
35        <activity
36            android:name=".TelemetryActivity"
37            android:label="@string/title_activity_telemetry"
38            android:exported="true">
39        </activity>
40        <activity
41            android:name=".TelemetryMemoryPressureActivity"
42            android:launchMode="singleTask"
43            android:label="@string/title_activity_telemetry"
44            android:exported="true">
45        </activity>
46        <activity
47            android:name=".JankActivity"
48            android:label="@string/title_activity_jank"
49            android:noHistory="true"
50            android:exported="true">
51        </activity>
52        <activity
53            android:name=".StartupTimeActivity"
54            android:label="@string/title_activity_startup_time"
55            android:noHistory="true"
56            android:exported="true">
57        </activity>
58        <activity
59            android:name=".WebViewBrowserActivity"
60            android:label="@string/title_activity_browser"
61            android:exported="true"
62            android:windowSoftInputMode="adjustResize">
63            <intent-filter>
64                <action android:name="android.intent.action.MAIN" />
65                <category android:name="android.intent.category.LAUNCHER" />
66            </intent-filter>
67            <!-- Catch intents which do not specify a MIME type -->
68            <intent-filter>
69                <action android:name="android.intent.action.VIEW" />
70                <category android:name="android.intent.category.DEFAULT" />
71                <category android:name="android.intent.category.BROWSABLE" />
72                <data android:scheme="http" />
73                <data android:scheme="https" />
74            </intent-filter>
75            <!-- Catch intents which do specify a MIME type -->
76            <intent-filter>
77                <action android:name="android.intent.action.VIEW" />
78                <category android:name="android.intent.category.DEFAULT" />
79                <category android:name="android.intent.category.BROWSABLE" />
80                <data android:scheme="http" />
81                <data android:scheme="https" />
82                <data android:mimeType="text/html"/>
83                <data android:mimeType="text/plain"/>
84                <data android:mimeType="application/xhtml+xml"/>
85                <data android:mimeType="application/vnd.wap.xhtml+xml"/> <!-- XHTML MP -->
86            </intent-filter>
87        </activity>
88        <activity
89            android:name=".WebViewLayoutTestActivity"
90            android:label="@string/title_activity_layout_test"
91            android:exported="true">
92        </activity>
93
94        <uses-library android:name="android.test.runner" />
95    </application>
96
97    <instrumentation android:name="org.chromium.webview_shell.WebViewLayoutTestRunner"
98        android:targetPackage="org.chromium.webview_shell"
99        android:label="Tests for org.chromium.webview_shell" />
100</manifest>
101