| <!-- | |
| * Copyright 2015 The Chromium Authors | |
| * Use of this source code is governed by a BSD-style license that can be | |
| * found in the LICENSE file. | |
| --> | |
| <manifest | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="{{manifest_package|default('org.chromium.webview_shell')}}" | |
| android:versionCode="1" | |
| android:versionName="1.0" > | |
| <!-- "Normal" permissions which do not require user prompt --> | |
| <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | |
| <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | |
| <uses-permission android:name="android.permission.INTERNET" /> | |
| <uses-permission android:name="android.permission.QUERY_ADVANCED_PROTECTION_MODE" /> | |
| <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> | |
| <uses-permission android:name="android.permission.USE_CREDENTIALS"/> | |
| <uses-permission android:name="android.permission.ACCESS_ADSERVICES_ATTRIBUTION"/> | |
| <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/> | |
| <uses-permission android:name="android.permission.CREDENTIAL_MANAGER_SET_ORIGIN"/> | |
| <!-- "Dangerous" permissions which require user prompt --> | |
| <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> | |
| <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> | |
| <uses-permission android:name="android.permission.CAMERA"/> | |
| <uses-permission android:name="android.permission.GET_ACCOUNTS"/> | |
| <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> | |
| <uses-permission android:name="android.permission.RECORD_AUDIO"/> | |
| <uses-permission android:name="android.permission.RUN_INSTRUMENTATION" /> | |
| <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | |
| <!-- Features related to permissions we request. --> | |
| <!-- android.permission.CAMERA --> | |
| <uses-feature android:name="android.hardware.camera" android:required="false" /> | |
| <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> | |
| <!-- android.permission.RECORD_AUDIO --> | |
| <uses-feature android:name="android.hardware.microphone" android:required="false" /> | |
| <!-- PaymentRequest queries the following intents in the apps on the device. --> | |
| <queries> | |
| <intent> | |
| <action android:name="org.chromium.intent.action.PAY"/> | |
| </intent> | |
| <intent> | |
| <action android:name="org.chromium.intent.action.IS_READY_TO_PAY"/> | |
| </intent> | |
| <intent> | |
| <action android:name="org.chromium.intent.action.UPDATE_PAYMENT_DETAILS"/> | |
| </intent> | |
| <intent> | |
| <action android:name="android.intent.action.PROCESS_TEXT" /> | |
| <data android:mimeType="text/plain" /> | |
| </intent> | |
| </queries> | |
| <application | |
| android:icon="@drawable/ic_launcher" | |
| android:label="@string/app_name" | |
| android:theme="@style/ShellTheme" | |
| android:enableOnBackInvokedCallback="true" | |
| android:networkSecurityConfig="@xml/network_security_config" | |
| android:debuggable="true" > | |
| <meta-data android:name="android.webkit.WebView.EnableSafeBrowsing" | |
| android:value="true" /> | |
| <activity | |
| android:name="org.chromium.webview_shell.TelemetryActivity" | |
| android:launchMode="singleTask" | |
| android:label="@string/title_activity_telemetry" | |
| android:exported="true"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.TelemetryMemoryPressureActivity" | |
| android:launchMode="singleTask" | |
| android:label="@string/title_activity_telemetry" | |
| android:exported="true"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.JankActivity" | |
| android:label="@string/title_activity_jank" | |
| android:noHistory="true" | |
| android:exported="true"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.StartupTimeActivity" | |
| android:label="@string/title_activity_startup_time" | |
| android:noHistory="true" | |
| android:exported="true"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.WebViewCreateDestroyActivity" | |
| android:launchMode="singleTask" | |
| android:label="@string/title_activity_create_destroy" | |
| android:exported="true"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.WebViewBrowserActivity" | |
| android:label="@string/title_activity_browser" | |
| android:exported="true" | |
| android:windowSoftInputMode="adjustResize" | |
| android:colorMode="wideColorGamut" | |
| android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|density"> | |
| <intent-filter> | |
| <action android:name="android.intent.action.MAIN" /> | |
| <category android:name="android.intent.category.DEFAULT" /> | |
| <category android:name="android.intent.category.LAUNCHER" /> | |
| </intent-filter> | |
| <!-- Catch intents which do not specify a MIME type --> | |
| <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="http" /> | |
| <data android:scheme="https" /> | |
| </intent-filter> | |
| <!-- Catch intents which do specify a MIME type --> | |
| <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="content" /> | |
| <data android:scheme="http" /> | |
| <data android:scheme="https" /> | |
| <data android:mimeType="text/html"/> | |
| <data android:mimeType="text/plain"/> | |
| <data android:mimeType="application/xhtml+xml"/> | |
| <data android:mimeType="application/vnd.wap.xhtml+xml"/> <!-- XHTML MP --> | |
| </intent-filter> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.WebViewBrowserSecondProcessActivity" | |
| android:process=":second_process" | |
| android:label="@string/title_activity_browser_second_process" | |
| android:exported="true" | |
| android:windowSoftInputMode="adjustResize" | |
| android:colorMode="wideColorGamut" | |
| android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|density"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.ManuallyTriggeredStartupActivity" | |
| android:label="@string/title_activity_manually_triggered_startup" | |
| android:exported="true" | |
| android:windowSoftInputMode="adjustResize" | |
| android:colorMode="wideColorGamut" | |
| android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|density"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.WebViewLayoutTestActivity" | |
| android:label="@string/title_activity_layout_test" | |
| android:exported="true"> | |
| </activity> | |
| <activity android:name="org.chromium.webview_shell.WebViewMultiProfileBrowserActivity" | |
| android:label="@string/title_activity_multi_profile" | |
| android:exported="true" | |
| android:windowSoftInputMode="adjustResize" | |
| android:colorMode="wideColorGamut" | |
| android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|density"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.WebViewThreadTestActivity" | |
| android:label="@string/title_activity_thread_test" | |
| android:exported="true"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.PageCyclerTestActivity" | |
| android:label="@string/title_activity_page_cycler" | |
| android:exported="true"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.WebViewTracingActivity" | |
| android:label="@string/title_activity_telemetry" | |
| android:noHistory="true" | |
| android:exported="true"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.WebViewAnimationTestActivity" | |
| android:noHistory="true" | |
| android:exported="true"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.InspectUserActionsActivity" | |
| android:exported="true" | |
| android:launchMode="singleTask"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.FullscreenActivity" | |
| android:noHistory="true" | |
| android:exported="false"> | |
| </activity> | |
| <activity | |
| android:name="org.chromium.webview_shell.WebPlatformTestsActivity" | |
| android:noHistory="true" | |
| android:exported="true"> | |
| </activity> | |
| <property android:name="android.adservices.AD_SERVICES_CONFIG" | |
| android:resource="@xml/ad_services_config" /> | |
| <service android:name="android.webkit.MetaDataHolderService" | |
| android:enabled="false" | |
| android:exported="false"> | |
| <meta-data android:name="android.webkit.WebView.MultiProfileNameTagKey" | |
| android:resource="@id/multi_profile_name_tag_key" /> | |
| </service> | |
| </application> | |
| </manifest> |