Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: chrome/android/javatests/AndroidManifest.xml

Issue 1190103002: Make lint fail builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix exported crash for ChromeShellTest Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/javatests/AndroidManifest.xml
diff --git a/chrome/android/javatests/AndroidManifest.xml b/chrome/android/javatests/AndroidManifest.xml
index 300adda0a9c1a5f028cdfd4d5e41bc2015c5e87d..5b6ed3d512e58bcbae5d45dfcc10c7b8372b1883 100644
--- a/chrome/android/javatests/AndroidManifest.xml
+++ b/chrome/android/javatests/AndroidManifest.xml
@@ -7,17 +7,27 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.chromium.chrome.tests">
+ <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="22" />
+ <uses-permission android:name="android.permission.INJECT_EVENTS" />
+ <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
+ <uses-permission android:name="android.permission.READ_LOGS"/>
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.INTERNET" />
+
<application
android:label="ChromePublicTest">
<uses-library android:name="android.test.runner" />
<provider android:name="org.chromium.chrome.test.TestContentProvider"
- android:authorities="org.chromium.chrome.test.TestContentProvider" />
+ android:authorities="org.chromium.chrome.test.TestContentProvider"
+ android:exported="true" />
<!-- The authority must not conflict with the authority defined in ChromeShellTestApk. -->
<provider android:name="org.chromium.chrome.test.partnercustomizations.TestPartnerBrowserCustomizationsProvider"
- android:authorities="org.chromium.chrome.test.partnercustomizations" />
+ android:authorities="org.chromium.chrome.test.partnercustomizations"
+ android:exported="true" />
<activity android:name="org.chromium.sync.test.util.MockGrantCredentialsPermissionActivity"
android:exported="true">
@@ -49,7 +59,7 @@
<activity android:name="org.chromium.test.broker.OnDeviceInstrumentationBroker"
android:exported="true"/>
-
+ <!--suppress ExportedReceiver -->
<receiver android:name="org.chromium.chrome.browser.customtabs.CustomTabsActivityTest$DummyBroadcastReceiver">
<intent-filter>
<action android:name="org.chromium.chrome.browser.customtabs.TEST_PENDING_INTENT_SENT" >
@@ -58,14 +68,7 @@
</receiver>
</application>
- <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="22" />
<instrumentation android:name="org.chromium.chrome.test.ChromeStagingInstrumentationTestRunner"
android:targetPackage="{{manifest_package}}"
android:label="Tests for {{manifest_package}}"/>
- <uses-permission android:name="android.permission.INJECT_EVENTS" />
- <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
- <uses-permission android:name="android.permission.READ_LOGS"/>
- <uses-permission android:name="android.permission.WAKE_LOCK" />
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
- <uses-permission android:name="android.permission.INTERNET" />
</manifest>

Powered by Google App Engine
This is Rietveld 408576698