Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / build / android / lint / suppressions.xml
blob97d5373afcfa6ed2081c209fb6ba8f8e019f310d
1 <?xml version="1.0" encoding="utf-8"?>
2 <lint>
3   <!--
4 STOP! It looks like you want to suppress some lint errors:
5 - Have you tried identifing the offending 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
8   sweeping it under the rug here. See:
10     http://developer.android.com/tools/debugging/improving-w-lint.html
12 Still reading?
13 - You can edit this file manually to suppress an issue
14   globally if it is not applicable to the project.
15 - You can also automatically add issues found so for in the
16   build process by running:
18     build/android/lint/suppress.py
20   which will generate this file (Comments are not preserved).
21   Note: PRODUCT_DIR will be substituted at run-time with actual
22   directory path (e.g. out/Debug)
23 -->
24   <issue id="AllowBackup">
25     <ignore path="AndroidManifest.xml"/>
26   </issue>
27   <issue id="Assert" severity="ignore"/>
28   <issue id="CommitPrefEdits">
29     <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/ticl/android2/channel/AndroidChannelPreferences.java"/>
30   </issue>
31   <issue id="DefaultLocale">
32     <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/external/client/contrib/AndroidListenerState.java"/>
33   </issue>
34   <issue id="DrawAllocation">
35     <ignore path="content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java"/>
36     <ignore path="content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java"/>
37   </issue>
38   <issue id="ExportedContentProvider">
39     <ignore path="AndroidManifest.xml"/>
40   </issue>
41   <issue id="HandlerLeak">
42     <ignore path="remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java"/>
43   </issue>
44   <issue id="IconDensities">
45     <!-- crbug.com/457918 is tracking missing assets -->
46     <ignore path="components/web_contents_delegate_android/android/java/res/drawable-xxhdpi"/>
47     <ignore path="components/web_contents_delegate_android/android/java/res/drawable-xxxhdpi"/>
48     <ignore path="content/public/android/java/res/drawable-xxhdpi"/>
49     <ignore path="content/public/android/java/res/drawable-xxxhdpi"/>
50     <ignore path="chrome/android/java/res/drawable-xxhdpi"/>
51     <ignore path="chrome/android/java/res/drawable-xxxhdpi"/>
52     <ignore path="ui/android/java/res/drawable-xxhdpi"/>
53     <ignore path="ui/android/java/res/drawable-xxxhdpi"/>
54     <ignore regexp=".*: data_reduction_illustration.png, reader_mode_bar_background.9.png, tabs_moved_htc.png, tabs_moved_nexus.png, tabs_moved_samsung.png$"/>
55   </issue>
56   <issue id="IconLocation">
57     <!-- It is OK for content_shell_apk to have missing assets. -->
58     <ignore path="content/shell/android/java/res/"/>
59     <!-- Suppression for chrome/test/chromedriver/test/webview_shell/java/res/drawable/icon.png -->
60     <ignore path="res/drawable/icon.png"/>
61     <!-- TODO(lambroslambrou) remove this once crbug.com/502030 is fixed. -->
62     <ignore path="remoting/android/java/res"/>
63   </issue>
64   <issue id="InconsistentLayout" severity="ignore"/>
65   <issue id="InflateParams" severity="ignore"/>
66   <issue id="MissingApplicationIcon" severity="ignore"/>
67   <issue id="MissingRegistered" severity="ignore"/>
68   <issue id="MissingVersion">
69     <ignore path="AndroidManifest.xml"/>
70   </issue>
71   <issue id="InlinedApi" severity="ignore"/>
72   <issue id="NewApi">
73     <ignore regexp="Attribute `paddingStart` referenced here can result in a crash on some specific devices older than API 17"/>
74     <ignore path="org/chromium/base/AnimationFrameTimeHistogram$Recorder.class"/>
75     <ignore path="org/chromium/base/JavaHandlerThread.class"/>
76     <ignore path="org/chromium/base/SysUtils.class"/>
77     <ignore path="org/chromium/chrome/browser/TtsPlatformImpl.class"/>
78     <ignore path="org/chromium/chrome/browser/TtsPlatformImpl$*.class"/>
79     <ignore path="chrome/android/java/res/values-v17/styles.xml"/>
80   </issue>
81   <issue id="OldTargetApi">
82     <ignore path="AndroidManifest.xml"/>
83   </issue>
84   <issue id="Overdraw" severity="ignore"/>
85   <issue id="Recycle" severity="ignore"/>
86   <issue id="Registered" severity="ignore"/>
87   <issue id="RtlCompat" severity="ignore"/>
88   <issue id="RtlEnabled" severity="ignore"/>
89   <issue id="RtlSymmetry" severity="ignore"/>
90   <issue id="SdCardPath">
91     <ignore path="content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java"/>
92   </issue>
93   <issue id="SetJavaScriptEnabled" severity="ignore"/>
94   <issue id="UnusedResources">
95     <!-- Used by chrome/android/java/AndroidManifest.xml -->
96     <ignore path="chrome/android/java/res/drawable/window_background.xml" />
97     <ignore path="chrome/android/java/res/xml/bookmark_thumbnail_widget_info.xml" />
98     <ignore path="chrome/android/java/res/xml/file_paths.xml" />
100     <ignore path="content/shell/android/shell_apk/res/layout/content_shell_activity.xml" />
101     <ignore path="content/shell/android/shell_apk/res/values/strings.xml" />
102   </issue>
103   <issue id="SignatureOrSystemPermissions" severity="ignore"/>
104   <issue id="UnusedAttribute" severity="ignore"/>
105   <issue id="ViewConstructor" severity="ignore"/>
106   <issue id="WrongCall" severity="ignore"/>
107   <issue id="UselessParent">
108     <ignore path="chrome/android/java/res/layout/data_reduction_promo_screen.xml" />
109   </issue>
110 </lint>