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

Side by Side Diff: chrome/android/sync_shell/javatests/AndroidManifest.xml

Issue 1206323004: Remove INJECT_EVENTS permissions from test APKs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't touch src/mojo Created 5 years, 5 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 unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of 2 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of
3 this source code is governed by a BSD-style license that can be found 3 this source code is governed by a BSD-style license that can be found
4 in the LICENSE file. --> 4 in the LICENSE file. -->
5 <!-- package name must be unique so suffix with "tests" so package loader 5 <!-- package name must be unique so suffix with "tests" so package loader
6 doesn't ignore this. --> 6 doesn't ignore this. -->
7 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 7 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
8 package="org.chromium.chrome.sync_shell.tests"> 8 package="org.chromium.chrome.sync_shell.tests">
9 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="22" /> 9 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="22" />
10 <uses-permission android:name="android.permission.RUN_INSTRUMENTATION" /> 10 <uses-permission android:name="android.permission.RUN_INSTRUMENTATION" />
11 <uses-permission android:name="android.permission.INJECT_EVENTS" />
12 <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" /> 11 <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
13 <uses-permission android:name="android.permission.READ_LOGS"/> 12 <uses-permission android:name="android.permission.READ_LOGS"/>
14 <uses-permission android:name="android.permission.WAKE_LOCK" /> 13 <uses-permission android:name="android.permission.WAKE_LOCK" />
15 <!-- We add an application tag here just so that we can indicate that this 14 <!-- We add an application tag here just so that we can indicate that this
16 package needs to link against the android.test library, which is 15 package needs to link against the android.test library, which is
17 needed when building test cases. --> 16 needed when building test cases. -->
18 <application> 17 <application>
19 <uses-library android:name="android.test.runner" /> 18 <uses-library android:name="android.test.runner" />
20 <activity android:name="org.chromium.sync.test.util.MockGrantCredentials PermissionActivity" 19 <activity android:name="org.chromium.sync.test.util.MockGrantCredentials PermissionActivity"
21 android:exported="false"> 20 android:exported="false">
22 <intent-filter> 21 <intent-filter>
23 <action android:name="android.intent.action.VIEW" /> 22 <action android:name="android.intent.action.VIEW" />
24 <category android:name="android.intent.category.DEFAULT" /> 23 <category android:name="android.intent.category.DEFAULT" />
25 </intent-filter> 24 </intent-filter>
26 </activity> 25 </activity>
27 </application> 26 </application>
28 <instrumentation android:name="org.chromium.chrome.test.ChromeInstrumentatio nTestRunner" 27 <instrumentation android:name="org.chromium.chrome.test.ChromeInstrumentatio nTestRunner"
29 android:targetPackage="org.chromium.chrome.sync_shell" 28 android:targetPackage="org.chromium.chrome.sync_shell"
30 android:label="Tests for org.chromium.chrome.sync_shell"/> 29 android:label="Tests for org.chromium.chrome.sync_shell"/>
31 </manifest> 30 </manifest>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698