OLD | NEW |
(Empty) | |
| 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: |
| 9 |
| 10 http://developer.android.com/tools/debugging/improving-w-lint.html |
| 11 |
| 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: |
| 17 |
| 18 build/android/lint/suppress.py |
| 19 |
| 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/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"> |
| 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"/> |
| 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/TapGestureDe
tector.java"/> |
| 43 </issue> |
| 44 <issue id="HardcodedDebugMode" severity="Fatal"> |
| 45 <ignore path="AndroidManifest.xml"/> |
| 46 </issue> |
| 47 <issue id="IconDensities"> |
| 48 <!-- crbug.com/457918 is tracking missing assets --> |
| 49 <ignore path="components/web_contents_delegate_android/android/java/res/draw
able-xxhdpi"/> |
| 50 <ignore path="components/web_contents_delegate_android/android/java/res/draw
able-xxxhdpi"/> |
| 51 <ignore path="content/public/android/java/res/drawable-xxhdpi"/> |
| 52 <ignore path="content/public/android/java/res/drawable-xxxhdpi"/> |
| 53 <ignore path="chrome/android/java/res/drawable-xxhdpi"/> |
| 54 <ignore path="chrome/android/java/res/drawable-xxxhdpi"/> |
| 55 <ignore path="ui/android/java/res/drawable-xxhdpi"/> |
| 56 <ignore path="ui/android/java/res/drawable-xxxhdpi"/> |
| 57 <ignore regexp=".*: reader_mode_bar_background.9.png, tabs_moved_htc.png, ta
bs_moved_nexus.png, tabs_moved_samsung.png$"/> |
| 58 </issue> |
| 59 <issue id="IconLocation"> |
| 60 <!-- It is OK for content_shell_apk and chrome_shell_apk to have missing ass
ets. --> |
| 61 <ignore path="content/shell/android/java/res/"/> |
| 62 <ignore path="chrome/android/shell/res/"/> |
| 63 <!-- Suppression for chrome/test/chromedriver/test/webview_shell/java/res/dr
awable/icon.png --> |
| 64 <ignore path="res/drawable/icon.png"/> |
| 65 <!-- TODO(lambroslambrou) remove this once crbug.com/502030 is fixed. --> |
| 66 <ignore path="remoting/android/java/res"/> |
| 67 </issue> |
| 68 <issue id="InconsistentLayout" severity="ignore"/> |
| 69 <issue id="InflateParams" severity="ignore"/> |
| 70 <issue id="MissingApplicationIcon" severity="ignore"/> |
| 71 <issue id="MissingRegistered" severity="ignore"/> |
| 72 <issue id="MissingVersion"> |
| 73 <ignore path="AndroidManifest.xml"/> |
| 74 </issue> |
| 75 <issue id="InlinedApi" severity="ignore"/> |
| 76 <issue id="NewApi"> |
| 77 <ignore regexp="Attribute `paddingStart` referenced here can result in a cra
sh on some specific devices older than API 17"/> |
| 78 <ignore path="org/chromium/base/AnimationFrameTimeHistogram$Recorder.class"/
> |
| 79 <ignore path="org/chromium/base/JavaHandlerThread.class"/> |
| 80 <ignore path="org/chromium/base/SysUtils.class"/> |
| 81 <ignore path="org/chromium/chrome/browser/TtsPlatformImpl.class"/> |
| 82 <ignore path="org/chromium/chrome/browser/TtsPlatformImpl$*.class"/> |
| 83 <ignore path="chrome/android/java/res/values-v17/styles.xml"/> |
| 84 </issue> |
| 85 <issue id="OldTargetApi"> |
| 86 <ignore path="AndroidManifest.xml"/> |
| 87 </issue> |
| 88 <issue id="Overdraw" severity="ignore"/> |
| 89 <issue id="Recycle" severity="ignore"/> |
| 90 <issue id="Registered" severity="ignore"/> |
| 91 <issue id="RtlCompat" severity="ignore"/> |
| 92 <issue id="RtlEnabled" severity="ignore"/> |
| 93 <issue id="RtlSymmetry" severity="ignore"/> |
| 94 <issue id="SdCardPath"> |
| 95 <ignore path="content/public/android/java/src/org/chromium/content/browser/M
ediaResourceGetter.java"/> |
| 96 </issue> |
| 97 <issue id="SetJavaScriptEnabled" severity="ignore"/> |
| 98 <issue id="UnusedResources"> |
| 99 <!-- Used by chrome/android/java/AndroidManifest.xml --> |
| 100 <ignore path="chrome/android/java/res/drawable/window_background.xml" /> |
| 101 <ignore path="chrome/android/java/res/xml/bookmark_thumbnail_widget_info.xml
" /> |
| 102 <ignore path="chrome/android/java/res/xml/file_paths.xml" /> |
| 103 |
| 104 <ignore path="content/shell/android/shell_apk/res/layout/content_shell_activ
ity.xml" /> |
| 105 <ignore path="content/shell/android/shell_apk/res/values/strings.xml" /> |
| 106 </issue> |
| 107 <issue id="SignatureOrSystemPermissions" severity="ignore"/> |
| 108 <issue id="UnusedAttribute" severity="ignore"/> |
| 109 <issue id="ViewConstructor" severity="ignore"/> |
| 110 <issue id="WrongCall" severity="ignore"/> |
| 111 </lint> |
OLD | NEW |