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

Side by Side Diff: build/android/lint/suppressions.xml

Issue 550463002: [Android] Suppress InlinedApi and NewApi lint warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <lint> 2 <lint>
3 <!-- 3 <!--
4 STOP! It looks like you want to suppress some lint errors: 4 STOP! It looks like you want to suppress some lint errors:
5 - Have you tried identifing the offending patch? 5 - Have you tried identifing the offending patch?
6 Ask the author for a fix and/or revert the patch. 6 Ask the author for a fix and/or revert the patch.
7 - It is preferred to add suppressions in the code instead of 7 - It is preferred to add suppressions in the code instead of
8 sweeping it under the rug here. See: 8 sweeping it under the rug here. See:
9 9
10 http://developer.android.com/tools/debugging/improving-w-lint.html 10 http://developer.android.com/tools/debugging/improving-w-lint.html
(...skipping 23 matching lines...) Expand all
34 <issue id="DrawAllocation"> 34 <issue id="DrawAllocation">
35 <ignore path="content/public/android/java/src/org/chromium/content/browser/C ontentViewRenderView.java"/> 35 <ignore path="content/public/android/java/src/org/chromium/content/browser/C ontentViewRenderView.java"/>
36 <ignore path="content/public/android/java/src/org/chromium/content/browser/P opupZoomer.java"/> 36 <ignore path="content/public/android/java/src/org/chromium/content/browser/P opupZoomer.java"/>
37 </issue> 37 </issue>
38 <issue id="ExportedContentProvider"> 38 <issue id="ExportedContentProvider">
39 <ignore path="AndroidManifest.xml"/> 39 <ignore path="AndroidManifest.xml"/>
40 </issue> 40 </issue>
41 <issue id="HandlerLeak"> 41 <issue id="HandlerLeak">
42 <ignore path="remoting/android/java/src/org/chromium/chromoting/TapGestureDe tector.java"/> 42 <ignore path="remoting/android/java/src/org/chromium/chromoting/TapGestureDe tector.java"/>
43 </issue> 43 </issue>
44 <issue id="InlinedApi">
45 <ignore path="base/android/java/src/org/chromium/base/ApiCompatibilityUtils. java"/>
46 <ignore path="base/android/java/src/org/chromium/base/MemoryPressureListener .java"/>
47 <ignore path="chrome/android/java/src/org/chromium/chrome/browser/printing/P rintingControllerFactory.java"/>
48 <ignore path="content/public/android/java/src/org/chromium/content/browser/D eviceUtils.java"/>
49 <ignore path="content/public/android/java/src/org/chromium/content/browser/S creenOrientationListener.java"/>
50 <ignore path="content/public/android/java/src/org/chromium/content/browser/a ccessibility/BrowserAccessibilityManager.java"/>
51 <ignore path="content/public/android/java/src/org/chromium/content/browser/a ccessibility/JellyBeanAccessibilityInjector.java"/>
52 <ignore path="media/base/android/java/src/org/chromium/media/AudioManagerAnd roid.java"/>
53 <ignore path="media/base/android/java/src/org/chromium/media/MediaCodecBridg e.java"/>
54 <ignore path="media/base/android/java/src/org/chromium/media/MediaDrmBridge. java"/>
55 <ignore path="media/base/android/java/src/org/chromium/media/WebAudioMediaCo decBridge.java"/>
56 <ignore path="net/android/java/src/org/chromium/net/X509Util.java"/>
57 <ignore path="printing/android/java/src/org/chromium/printing/PrintingContro llerImpl.java"/>
58 <ignore path="printing/android/java/src/org/chromium/printing/PrintManagerDe legateImpl.java"/>
59 <ignore path="ui/android/java/src/org/chromium/ui/base/LocalizationUtils.jav a"/>
60 </issue>
61 <issue id="MissingApplicationIcon" severity="ignore"/> 44 <issue id="MissingApplicationIcon" severity="ignore"/>
62 <issue id="MissingRegistered" severity="ignore"/> 45 <issue id="MissingRegistered" severity="ignore"/>
63 <issue id="MissingVersion"> 46 <issue id="MissingVersion">
64 <ignore path="AndroidManifest.xml"/> 47 <ignore path="AndroidManifest.xml"/>
65 </issue> 48 </issue>
66 <issue id="NewApi"> 49 <!-- Disabling is InlinedApi and NewApi is bad but we have too many of these e rrors and nobody is fixing it. crbug.com/411461 -->
67 <ignore path="PRODUCT_DIR/chrome_shell_test_apk/classes/org/chromium/printin g/PrintingControllerTest$6.class"/> 50 <issue id="InlinedApi" severity="ignore"/>
68 <ignore path="PRODUCT_DIR/chrome_shell_test_apk/classes/org/chromium/printin g/PrintingControllerTest$7.class"/> 51 <issue id="NewApi" severity="ignore"/>
69 <ignore path="PRODUCT_DIR/chrome_shell_test_apk/classes/org/chromium/printin g/PrintingControllerTest.class"/>
70 <ignore path="PRODUCT_DIR/content_shell_test_apk/classes/org/chromium/conten t/browser/ClipboardTest.class"/>
71 <ignore path="android_webview/java/src/org/chromium/android_webview/AwPdfExp orter.java"/>
72 <ignore path="android_webview/java/src/org/chromium/android_webview/AwPrintD ocumentAdapter.java"/>
73 <ignore path="android_webview/java/src/org/chromium/android_webview/AwWebCon tentsDelegateAdapter.java"/>
74 <ignore path="android_webview/test/shell/src/org/chromium/android_webview/te st/AwTestContainerView.java"/>
75 <ignore path="base/android/java/src/org/chromium/base/ApiCompatibilityUtils. java"/>
76 <ignore path="chrome/android/java/src/org/chromium/chrome/browser/BookmarkUt ils.java"/>
77 <ignore path="chrome/android/java/src/org/chromium/chrome/browser/TtsPlatfor mImpl.java"/>
78 <ignore path="chrome/android/java/src/org/chromium/chrome/browser/infobar/An imationHelper.java"/>
79 <ignore path="chrome/android/java/src/org/chromium/chrome/browser/signin/Sig ninManager.java"/>
80 <ignore path="chrome/test/chromedriver/test/webview_shell/java/src/org/chrom ium/chromedriver_webview_shell/Main.java"/>
81 <ignore path="content/public/android/java/src/org/chromium/content/browser/C ontentViewCore.java"/>
82 <ignore path="content/public/android/java/src/org/chromium/content/browser/G enericTouchGesture.java"/>
83 <ignore path="content/public/android/java/src/org/chromium/content/browser/V SyncMonitor.java"/>
84 <ignore path="content/public/android/java/src/org/chromium/content/browser/a ccessibility/BrowserAccessibilityManager.java"/>
85 <ignore path="content/public/android/java/src/org/chromium/content/browser/a ccessibility/JellyBeanAccessibilityInjector.java"/>
86 <ignore path="content/public/android/java/src/org/chromium/content/browser/a ccessibility/JellyBeanBrowserAccessibilityManager.java"/>
87 <ignore path="content/public/android/java/src/org/chromium/content/browser/a ccessibility/KitKatBrowserAccessibilityManager.java"/>
88 <ignore path="content/public/android/java/src/org/chromium/content/browser/i nput/InputDialogContainer.java"/>
89 <ignore path="content/public/android/javatests/src/org/chromium/content/brow ser/ClipboardTest.java"/>
90 <ignore path="media/base/android/java/src/org/chromium/media/AudioManagerAnd roid.java"/>
91 <ignore path="media/base/android/java/src/org/chromium/media/MediaCodecBridg e.java"/>
92 <ignore path="media/base/android/java/src/org/chromium/media/MediaDrmBridge. java"/>
93 <ignore path="media/base/android/java/src/org/chromium/media/VideoCapture.ja va"/>
94 <ignore path="media/base/android/java/src/org/chromium/media/WebAudioMediaCo decBridge.java"/>
95 <ignore path="printing/android/java/src/org/chromium/printing/PrintDocumentA dapterWrapper.java"/>
96 <ignore path="printing/android/java/src/org/chromium/printing/PrintManagerDe legateImpl.java"/>
97 <ignore path="printing/android/java/src/org/chromium/printing/PrintingContro llerImpl.java"/>
98 <ignore path="tools/android/memconsumer/java/src/org/chromium/memconsumer/Re sidentService.java"/>
99 <ignore path="ui/android/java/src/org/chromium/ui/ColorPickerAdvancedCompone nt.java"/>
100 <ignore path="ui/android/java/src/org/chromium/ui/base/Clipboard.java"/>
101 <ignore path="ui/android/java/src/org/chromium/ui/base/LocalizationUtils.jav a"/>
102 <ignore path="ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java "/>
103 <ignore path="ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformW rapper.java"/>
104 </issue>
105 <issue id="OldTargetApi"> 52 <issue id="OldTargetApi">
106 <ignore path="AndroidManifest.xml"/> 53 <ignore path="AndroidManifest.xml"/>
107 </issue> 54 </issue>
108 <issue id="Recycle" severity="ignore"/> 55 <issue id="Recycle" severity="ignore"/>
109 <issue id="Registered" severity="ignore"/> 56 <issue id="Registered" severity="ignore"/>
110 <issue id="SdCardPath"> 57 <issue id="SdCardPath">
111 <ignore path="content/public/android/java/src/org/chromium/content/browser/M ediaResourceGetter.java"/> 58 <ignore path="content/public/android/java/src/org/chromium/content/browser/M ediaResourceGetter.java"/>
112 </issue> 59 </issue>
113 <issue id="SetJavaScriptEnabled" severity="ignore"/> 60 <issue id="SetJavaScriptEnabled" severity="ignore"/>
114 <issue id="ViewConstructor" severity="ignore"/> 61 <issue id="ViewConstructor" severity="ignore"/>
115 <issue id="WrongCall" severity="ignore"/> 62 <issue id="WrongCall" severity="ignore"/>
116 </lint> 63 </lint>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698