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"> | |
28 <ignore regexp="mojo/public/java/src/.*"/> | |
29 <ignore regexp="mojo/bindings/java/src/.*"/> | |
30 </issue> | |
31 <issue id="CommitPrefEdits"> | 27 <issue id="CommitPrefEdits"> |
32 <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalida
tion/ticl/android2/channel/AndroidChannelPreferences.java"/> | 28 <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalida
tion/ticl/android2/channel/AndroidChannelPreferences.java"/> |
33 </issue> | 29 </issue> |
34 <issue id="DefaultLocale"> | 30 <issue id="DefaultLocale"> |
35 <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalida
tion/external/client/contrib/AndroidListenerState.java"/> | 31 <ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalida
tion/external/client/contrib/AndroidListenerState.java"/> |
36 </issue> | 32 </issue> |
37 <issue id="DrawAllocation"> | 33 <issue id="DrawAllocation"> |
38 <ignore path="content/public/android/java/src/org/chromium/content/browser/C
ontentViewRenderView.java"/> | 34 <ignore path="content/public/android/java/src/org/chromium/content/browser/C
ontentViewRenderView.java"/> |
39 <ignore path="content/public/android/java/src/org/chromium/content/browser/P
opupZoomer.java"/> | 35 <ignore path="content/public/android/java/src/org/chromium/content/browser/P
opupZoomer.java"/> |
40 </issue> | 36 </issue> |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 </issue> | 105 </issue> |
110 <issue id="Recycle" severity="ignore"/> | 106 <issue id="Recycle" severity="ignore"/> |
111 <issue id="Registered" severity="ignore"/> | 107 <issue id="Registered" severity="ignore"/> |
112 <issue id="SdCardPath"> | 108 <issue id="SdCardPath"> |
113 <ignore path="content/public/android/java/src/org/chromium/content/browser/M
ediaResourceGetter.java"/> | 109 <ignore path="content/public/android/java/src/org/chromium/content/browser/M
ediaResourceGetter.java"/> |
114 </issue> | 110 </issue> |
115 <issue id="SetJavaScriptEnabled" severity="ignore"/> | 111 <issue id="SetJavaScriptEnabled" severity="ignore"/> |
116 <issue id="ViewConstructor" severity="ignore"/> | 112 <issue id="ViewConstructor" severity="ignore"/> |
117 <issue id="WrongCall" severity="ignore"/> | 113 <issue id="WrongCall" severity="ignore"/> |
118 </lint> | 114 </lint> |
OLD | NEW |