• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="29" />
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        android:networkSecurityConfig="@xml/network_security_config" >
36        <meta-data android:name="android.webkit.WebView.EnableSafeBrowsing"
37            android:value="true" />
38        <activity
39            android:name="org.chromium.webview_shell.TelemetryActivity"
40            android:launchMode="singleTask"
41            android:label="@string/title_activity_telemetry"
42            android:exported="true">
43        </activity>
44        <activity
45            android:name="org.chromium.webview_shell.TelemetryMemoryPressureActivity"
46            android:launchMode="singleTask"
47            android:label="@string/title_activity_telemetry"
48            android:exported="true">
49        </activity>
50        <activity
51            android:name="org.chromium.webview_shell.JankActivity"
52            android:label="@string/title_activity_jank"
53            android:noHistory="true"
54            android:exported="true">
55        </activity>
56        <activity
57            android:name="org.chromium.webview_shell.StartupTimeActivity"
58            android:label="@string/title_activity_startup_time"
59            android:noHistory="true"
60            android:exported="true">
61        </activity>
62        <activity
63            android:name="org.chromium.webview_shell.WebViewCreateDestroyActivity"
64            android:launchMode="singleTask"
65            android:label="@string/title_activity_create_destroy"
66            android:exported="true">
67        </activity>
68        <activity
69            android:name="org.chromium.webview_shell.WebViewBrowserActivity"
70            android:label="@string/title_activity_browser"
71            android:exported="true"
72            android:windowSoftInputMode="adjustResize"
73            android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|density">
74            <intent-filter>
75                <action android:name="android.intent.action.MAIN" />
76                <category android:name="android.intent.category.LAUNCHER" />
77            </intent-filter>
78            <!-- Catch intents which do not specify a MIME type -->
79            <intent-filter>
80                <action android:name="android.intent.action.VIEW" />
81                <category android:name="android.intent.category.DEFAULT" />
82                <category android:name="android.intent.category.BROWSABLE" />
83                <data android:scheme="http" />
84                <data android:scheme="https" />
85            </intent-filter>
86            <!-- Catch intents which do specify a MIME type -->
87            <intent-filter>
88                <action android:name="android.intent.action.VIEW" />
89                <category android:name="android.intent.category.DEFAULT" />
90                <category android:name="android.intent.category.BROWSABLE" />
91                <data android:scheme="http" />
92                <data android:scheme="https" />
93                <data android:mimeType="text/html"/>
94                <data android:mimeType="text/plain"/>
95                <data android:mimeType="application/xhtml+xml"/>
96                <data android:mimeType="application/vnd.wap.xhtml+xml"/> <!-- XHTML MP -->
97            </intent-filter>
98        </activity>
99        <activity
100            android:name="org.chromium.webview_shell.WebViewLayoutTestActivity"
101            android:label="@string/title_activity_layout_test"
102            android:exported="true">
103        </activity>
104        <activity
105            android:name="org.chromium.webview_shell.WebViewThreadTestActivity"
106            android:label="@string/title_activity_thread_test"
107            android:exported="true">
108        </activity>
109        <activity android:name="org.chromium.test.broker.OnDeviceInstrumentationBroker"
110            android:exported="true"/>
111
112        <activity
113            android:name="org.chromium.webview_shell.PageCyclerTestActivity"
114            android:label="@string/title_activity_page_cycler"
115            android:exported="true">
116        </activity>
117
118        <activity
119            android:name="org.chromium.webview_shell.WebViewTracingActivity"
120            android:label="@string/title_activity_telemetry"
121            android:noHistory="true"
122            android:exported="true">
123        </activity>
124
125        <activity
126            android:name="org.chromium.webview_shell.WebViewAnimationTestActivity"
127            android:noHistory="true"
128            android:exported="true">
129        </activity>
130
131        <uses-library android:name="android.test.runner" />
132    </application>
133</manifest>
134