OLD | NEW |
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 |
11 | 11 |
12 Still reading? | 12 Still reading? |
13 - You can edit this file manually to suppress an issue | 13 - You can edit this file manually to suppress an issue |
14 globally if it is not applicable to the project. | 14 globally if it is not applicable to the project. |
15 - You can also automatically add issues found so for in the | 15 - You can also automatically add issues found so for in the |
16 build process by running: | 16 build process by running: |
17 | 17 |
18 build/android/lint/suppress.py | 18 build/android/lint/suppress.py |
19 | 19 |
20 which will generate this file (Comments are not preserved). | 20 which will generate this file (Comments are not preserved). |
21 Note: PRODUCT_DIR will be substituted at run-time with actual | 21 Note: PRODUCT_DIR will be substituted at run-time with actual |
22 directory path (e.g. out/Debug) | 22 directory path (e.g. out/Debug) |
23 --> | 23 --> |
24 <issue id="AllowBackup"> | 24 <issue id="AllowBackup"> |
25 <ignore path="AndroidManifest.xml"/> | 25 <ignore path="AndroidManifest.xml"/> |
26 </issue> | 26 </issue> |
27 <issue id="Assert" severity="ignore"/> | 27 <issue id="Assert" severity="ignore"/> |
28 <issue id="CommitPrefEdits"> | |
29 <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalida
tion/ticl/android2/channel/AndroidChannelPreferences.java"/> | |
30 </issue> | |
31 <issue id="DefaultLocale"> | |
32 <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalida
tion/external/client/contrib/AndroidListenerState.java"/> | |
33 </issue> | |
34 <issue id="DrawAllocation"> | 28 <issue id="DrawAllocation"> |
35 <ignore path="content/public/android/java/src/org/chromium/content/browser/C
ontentViewRenderView.java"/> | 29 <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"/> | 30 <ignore path="content/public/android/java/src/org/chromium/content/browser/P
opupZoomer.java"/> |
37 </issue> | 31 </issue> |
38 <issue id="ExportedContentProvider"> | 32 <issue id="ExportedContentProvider"> |
39 <ignore path="AndroidManifest.xml"/> | 33 <ignore path="AndroidManifest.xml"/> |
40 </issue> | 34 </issue> |
41 <issue id="HandlerLeak"> | 35 <issue id="HandlerLeak"> |
42 <ignore path="remoting/android/java/src/org/chromium/chromoting/TapGestureDe
tector.java"/> | 36 <ignore path="remoting/android/java/src/org/chromium/chromoting/TapGestureDe
tector.java"/> |
43 </issue> | 37 </issue> |
| 38 <issue id="HardcodedDebugMode"> |
| 39 <ignore path="AndroidManifest.xml"/> |
| 40 </issue> |
44 <issue id="IconDensities"> | 41 <issue id="IconDensities"> |
45 <!-- crbug.com/457918 is tracking missing assets --> | 42 <!-- crbug.com/457918 is tracking missing assets --> |
46 <ignore path="components/web_contents_delegate_android/android/java/res/draw
able-xxhdpi"/> | 43 <ignore path="components/web_contents_delegate_android/android/java/res/draw
able-xxhdpi"/> |
47 <ignore path="components/web_contents_delegate_android/android/java/res/draw
able-xxxhdpi"/> | 44 <ignore path="components/web_contents_delegate_android/android/java/res/draw
able-xxxhdpi"/> |
48 <ignore path="content/public/android/java/res/drawable-xxhdpi"/> | 45 <ignore path="content/public/android/java/res/drawable-xxhdpi"/> |
49 <ignore path="content/public/android/java/res/drawable-xxxhdpi"/> | 46 <ignore path="content/public/android/java/res/drawable-xxxhdpi"/> |
50 <ignore path="chrome/android/java/res/drawable-xxhdpi"/> | 47 <ignore path="chrome/android/java/res/drawable-xxhdpi"/> |
51 <ignore path="chrome/android/java/res/drawable-xxxhdpi"/> | 48 <ignore path="chrome/android/java/res/drawable-xxxhdpi"/> |
52 <ignore path="ui/android/java/res/drawable-xxhdpi"/> | 49 <ignore path="ui/android/java/res/drawable-xxhdpi"/> |
53 <ignore path="ui/android/java/res/drawable-xxxhdpi"/> | 50 <ignore path="ui/android/java/res/drawable-xxxhdpi"/> |
(...skipping 26 matching lines...) Expand all Loading... |
80 <issue id="Recycle" severity="ignore"/> | 77 <issue id="Recycle" severity="ignore"/> |
81 <issue id="Registered" severity="ignore"/> | 78 <issue id="Registered" severity="ignore"/> |
82 <issue id="RtlCompat" severity="ignore"/> | 79 <issue id="RtlCompat" severity="ignore"/> |
83 <issue id="RtlEnabled" severity="ignore"/> | 80 <issue id="RtlEnabled" severity="ignore"/> |
84 <issue id="RtlSymmetry" severity="ignore"/> | 81 <issue id="RtlSymmetry" severity="ignore"/> |
85 <issue id="SdCardPath"> | 82 <issue id="SdCardPath"> |
86 <ignore path="content/public/android/java/src/org/chromium/content/browser/M
ediaResourceGetter.java"/> | 83 <ignore path="content/public/android/java/src/org/chromium/content/browser/M
ediaResourceGetter.java"/> |
87 </issue> | 84 </issue> |
88 <issue id="SetJavaScriptEnabled" severity="ignore"/> | 85 <issue id="SetJavaScriptEnabled" severity="ignore"/> |
89 <issue id="UnusedResources"> | 86 <issue id="UnusedResources"> |
90 <!-- These files are used by chrome_shell_apk and chrome_apk targets. --> | 87 <!-- |
91 <ignore path="chrome/android/java/res/layout/accessibility_tab_switcher.xml"
/> | 88 TODO(pkotwicz): Re-enable after the chrome_java and chrome_staging_java |
92 <ignore path="chrome/android/java/res/drawable/btn_back.xml" /> | 89 targets have been merged. crbug.com/484934 |
93 <ignore path="chrome/android/java/res/drawable/btn_forward.xml" /> | 90 --> |
| 91 <ignore path="chrome/android/java/res" /> |
94 </issue> | 92 </issue> |
95 <issue id="SignatureOrSystemPermissions" severity="ignore"/> | 93 <issue id="SignatureOrSystemPermissions" severity="ignore"/> |
96 <issue id="UnusedAttribute" severity="ignore"/> | 94 <issue id="UnusedAttribute" severity="ignore"/> |
97 <issue id="ViewConstructor" severity="ignore"/> | 95 <issue id="ViewConstructor" severity="ignore"/> |
98 <issue id="WrongCall" severity="ignore"/> | 96 <issue id="WrongCall" severity="ignore"/> |
99 </lint> | 97 </lint> |
OLD | NEW |