blob: d4ab134a50ca72dd13eb836ccc5e2d0dce9378d2 [file] [log] [blame]
{% extends "chrome/android/java/AndroidManifest.xml" %}
# 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.
{% block application_label %}ChromePublicTest{% endblock %}
{% block extra_uses_permissions %}
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_LOGS"/>
<uses-permission android:name="android.permission.SET_ANIMATION_SCALE"/>
{% endblock %}
{% block extra_application_definitions_for_test %}
<provider android:name="org.chromium.chrome.test.TestContentProvider"
android:authorities="org.chromium.chrome.test.TestContentProvider"
android:exported="true" />
<provider android:name="org.chromium.chrome.test.partnercustomizations.TestPartnerBrowserCustomizationsProvider"
android:authorities="org.chromium.chrome.test.partnercustomizations.TestPartnerBrowserCustomizationsProvider"
android:exported="true" />
<provider android:name="org.chromium.chrome.test.partnercustomizations.TestPartnerBrowserCustomizationsDelayedProvider"
android:authorities="org.chromium.chrome.test.partnercustomizations.TestPartnerBrowserCustomizationsDelayedProvider"
android:exported="true" />
<activity android:name="org.chromium.chrome.browser.customtabs.CustomTabExternalNavigationTest$DummyActivityForSpecialScheme"
android:exported="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:host="customtabtest" android:scheme="customtab" />
</intent-filter>
</activity>
<activity android:name="org.chromium.chrome.browser.customtabs.CustomTabExternalNavigationTest$DummyActivityForHttp"
android:exported="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:host="customtabtest.com" android:scheme="http" />
</intent-filter>
</activity>
<activity android:name="FakeActivity" android:exported="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="externalappscheme" />
</intent-filter>
</activity>
<activity android:name="org.chromium.chrome.browser.sync.SyncTestRule$DummyKeyRetrievalActivity"
android:exported="true"/>
<activity android:name="org.chromium.chrome.browser.sync.SyncTestRule$DummyRecoverabilityDegradedFixActivity"
android:exported="true"/>
<activity android:name="org.chromium.chrome.browser.browserservices.TestTrustedWebActivityService"
android:exported="true"/>
<activity android:name="org.chromium.test.broker.OnDeviceInstrumentationBroker"
android:exported="true"/>
<activity android:name="org.chromium.ui.test.util.BlankUiTestActivity"
android:theme="@style/Theme.Chromium.Activity"
android:exported="true"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize|uiMode|density"/>
<activity android:name="org.chromium.components.signin.test.util.FakeAccountManagerFacade$AddAccountActivityStub"
android:exported="true"/>
<service
android:name="org.chromium.components.browser_ui.photo_picker.TestImageDecoderService"
android:exported="false"
android:isolatedProcess="true"
android:process=":decoder_service" />
{% endblock %}
{% block extra_application_attributes %}
{{ super() }}
## Test listing breaks because of scoped storage in Android 10 - see
## https://developer.android.com/training/data-storage#scoped-storage and
## https://developer.android.com/training/data-storage/compatibility.
android:requestLegacyExternalStorage="true"
{% endblock %}
{% block extra_root_definitions %}
<instrumentation android:name="org.chromium.base.test.BaseChromiumAndroidJUnitRunner"
android:targetPackage="{{manifest_package}}"
android:label="Tests for {{manifest_package}}"/>
{% endblock %}