| 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 <!-- AllowBackup defaults to true, and causes a lint warning if not explicitly
set. --> |
| 24 <issue id="AllowBackup"> | 25 <issue id="AllowBackup"> |
| 25 <ignore path="AndroidManifest.xml"/> | 26 <ignore path="AndroidManifest.xml"/> |
| 26 </issue> | 27 </issue> |
| 28 <!-- We use asserts in Chromium. See https://chromium.googlesource.com/chromiu
m/src/+/master/styleguide/java/java.md#Asserts --> |
| 27 <issue id="Assert" severity="ignore"/> | 29 <issue id="Assert" severity="ignore"/> |
| 28 <!-- TODO(crbug.com/635567): Fix this properly. --> | |
| 29 <issue id="BadHostnameVerifier" severity="Error"> | 30 <issue id="BadHostnameVerifier" severity="Error"> |
| 31 <!-- Safe, used in test only. --> |
| 30 <ignore regexp="net/test/android/javatests/src/org/chromium/net/test/util/Te
stWebServer.java"/> | 32 <ignore regexp="net/test/android/javatests/src/org/chromium/net/test/util/Te
stWebServer.java"/> |
| 31 </issue> | 33 </issue> |
| 32 <issue id="ButtonOrder" severity="Error"> | 34 <issue id="ButtonOrder" severity="Error"> |
| 33 <ignore regexp="chrome/android/java/res/layout/homepage_editor.xml"/> | 35 <ignore regexp="chrome/android/java/res/layout/homepage_editor.xml"/> |
| 34 </issue> | 36 </issue> |
| 35 <issue id="ButtonStyle" severity="Error"> | 37 <issue id="ButtonStyle" severity="Error"> |
| 36 <ignore regexp="remoting/android/host/res/layout/main.xml"/> | 38 <ignore regexp="remoting/android/host/res/layout/main.xml"/> |
| 37 </issue> | 39 </issue> |
| 38 <issue id="CommitPrefEdits"> | 40 <issue id="CommitPrefEdits"> |
| 39 <ignore regexp="third_party/cacheinvalidation/src/java/com/google/ipc/invali
dation/ticl/android2/channel/AndroidChannelPreferences.java"/> | 41 <ignore regexp="third_party/cacheinvalidation/src/java/com/google/ipc/invali
dation/ticl/android2/channel/AndroidChannelPreferences.java"/> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 66 <!-- TODO(crbug.com/635567): Fix this properly. --> | 68 <!-- TODO(crbug.com/635567): Fix this properly. --> |
| 67 <issue id="GoogleAppIndexingUrlError" severity="Error"> | 69 <issue id="GoogleAppIndexingUrlError" severity="Error"> |
| 68 <ignore regexp="AndroidManifest.xml"/> | 70 <ignore regexp="AndroidManifest.xml"/> |
| 69 </issue> | 71 </issue> |
| 70 <!-- TODO(crbug.com/635567): Fix this properly. --> | 72 <!-- TODO(crbug.com/635567): Fix this properly. --> |
| 71 <issue id="GoogleAppIndexingWarning" severity="Error"> | 73 <issue id="GoogleAppIndexingWarning" severity="Error"> |
| 72 <ignore regexp="AndroidManifest.xml"/> | 74 <ignore regexp="AndroidManifest.xml"/> |
| 73 </issue> | 75 </issue> |
| 74 <issue id="HandlerLeak"> | 76 <issue id="HandlerLeak"> |
| 75 <ignore regexp="android_webview/glue/java/src/com/android/webview/chromium/W
ebViewContentsClientAdapter.java" /> | 77 <ignore regexp="android_webview/glue/java/src/com/android/webview/chromium/W
ebViewContentsClientAdapter.java" /> |
| 76 <!-- TODO(crbug.com/635567): Fix this properly. --> | |
| 77 <ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/composit
or/overlays/strip/StripLayoutHelper.java"/> | |
| 78 <!-- TODO(crbug.com/635567): Fix this properly. --> | |
| 79 <ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/gsa/GSAS
erviceClient.java"/> | |
| 80 <!-- TODO(crbug.com/635567): Fix this properly. --> | |
| 81 <ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.
java"/> | |
| 82 <ignore regexp="chromecast/internal" /> | 78 <ignore regexp="chromecast/internal" /> |
| 83 <ignore regexp="remoting/android/java/src/org/chromium/chromoting/TapGesture
Detector.java" /> | 79 <ignore regexp="remoting/android/java/src/org/chromium/chromoting/TapGesture
Detector.java" /> |
| 84 </issue> | 80 </issue> |
| 85 <issue id="HardcodedDebugMode" severity="Fatal"> | 81 <issue id="HardcodedDebugMode" severity="Fatal"> |
| 86 <ignore path="AndroidManifest.xml"/> | 82 <ignore path="AndroidManifest.xml"/> |
| 87 </issue> | 83 </issue> |
| 88 <issue id="HardcodedText" severity="Error"> | 84 <issue id="HardcodedText" severity="Error"> |
| 89 <ignore regexp="chromecast/internal"/> | 85 <ignore regexp="chromecast/internal"/> |
| 90 <ignore regexp="remoting/android/host/res/layout/main.xml"/> | 86 <ignore regexp="remoting/android/host/res/layout/main.xml"/> |
| 91 </issue> | 87 </issue> |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 </issue> | 449 </issue> |
| 454 <issue id="ViewConstructor" severity="ignore"/> | 450 <issue id="ViewConstructor" severity="ignore"/> |
| 455 <issue id="WrongCall" severity="ignore"/> | 451 <issue id="WrongCall" severity="ignore"/> |
| 456 <issue id="WrongConstant"> | 452 <issue id="WrongConstant"> |
| 457 <ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/SSLClien
tCertificateRequest.java"/> | 453 <ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/SSLClien
tCertificateRequest.java"/> |
| 458 <ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/payments
/ui/EditorView.java"/> | 454 <ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/payments
/ui/EditorView.java"/> |
| 459 <ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/signin/S
igninAndSyncView.java"/> | 455 <ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/signin/S
igninAndSyncView.java"/> |
| 460 <ignore regexp="content/public/android/java/src/org/chromium/content/browser
/ChildProcessConnectionImpl.java"/> | 456 <ignore regexp="content/public/android/java/src/org/chromium/content/browser
/ChildProcessConnectionImpl.java"/> |
| 461 </issue> | 457 </issue> |
| 462 </lint> | 458 </lint> |
| OLD | NEW |