120 lines
5.6 KiB
XML
120 lines
5.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<lint>
|
|
<!--
|
|
STOP! It looks like you want to suppress some lint errors:
|
|
- Have you tried identifing the offending patch?
|
|
Ask the author for a fix and/or revert the patch.
|
|
- It is preferred to add suppressions in the code instead of
|
|
sweeping it under the rug here. See:
|
|
|
|
http://developer.android.com/tools/debugging/improving-w-lint.html
|
|
|
|
Still reading?
|
|
- You can edit this file manually to suppress an issue
|
|
globally if it is not applicable to the project.
|
|
- You can also automatically add issues found so for in the
|
|
build process by running:
|
|
|
|
build/android/lint/suppress.py
|
|
|
|
which will generate this file (Comments are not preserved).
|
|
Note: PRODUCT_DIR will be substituted at run-time with actual
|
|
directory path (e.g. out/Debug)
|
|
-->
|
|
<issue id="AllowBackup">
|
|
<ignore path="AndroidManifest.xml"/>
|
|
</issue>
|
|
<issue id="Assert" severity="ignore"/>
|
|
<issue id="CommitPrefEdits">
|
|
<ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/ticl/android2/channel/AndroidChannelPreferences.java"/>
|
|
</issue>
|
|
<issue id="DefaultLocale">
|
|
<ignore path="third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/external/client/contrib/AndroidListenerState.java"/>
|
|
</issue>
|
|
<issue id="DrawAllocation">
|
|
<ignore path="content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java"/>
|
|
<ignore path="content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java"/>
|
|
</issue>
|
|
<issue id="ExportedContentProvider">
|
|
<ignore path="AndroidManifest.xml"/>
|
|
</issue>
|
|
<issue id="HandlerLeak">
|
|
<ignore path="remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java"/>
|
|
</issue>
|
|
<issue id="IconMissingDensityFolder">
|
|
<!-- see crbug.com/542435 -->
|
|
<ignore path="android_webview/apk/java/res" />
|
|
</issue>
|
|
<issue id="IconDensities">
|
|
<!-- crbug.com/457918 is tracking missing assets -->
|
|
<ignore path="components/web_contents_delegate_android/android/java/res/drawable-xxhdpi"/>
|
|
<ignore path="components/web_contents_delegate_android/android/java/res/drawable-xxxhdpi"/>
|
|
<ignore path="content/public/android/java/res/drawable-xxhdpi"/>
|
|
<ignore path="content/public/android/java/res/drawable-xxxhdpi"/>
|
|
<ignore path="chrome/android/java/res/drawable-xxhdpi"/>
|
|
<ignore path="chrome/android/java/res/drawable-xxxhdpi"/>
|
|
<ignore path="ui/android/java/res/drawable-xxhdpi"/>
|
|
<ignore path="ui/android/java/res/drawable-xxxhdpi"/>
|
|
<!-- The large assets below only include a few densities to reduce APK size. -->
|
|
<ignore regexp=".*: data_reduction_illustration.png, google_icon_sprite.png, physical_web_logo.png, physical_web_logo_anim1.png, physical_web_logo_anim2.png$"/>
|
|
</issue>
|
|
<issue id="IconDipSize">
|
|
<ignore regexp=".*google_icon_sprite.png.*"/>
|
|
</issue>
|
|
<issue id="IconLocation">
|
|
<!-- It is OK for content_shell_apk to have missing assets. -->
|
|
<ignore path="content/shell/android/java/res/"/>
|
|
<!-- Suppression for chrome/test/chromedriver/test/webview_shell/java/res/drawable/icon.png -->
|
|
<ignore path="res/drawable/icon.png"/>
|
|
<!-- TODO(lambroslambrou) remove this once crbug.com/502030 is fixed. -->
|
|
<ignore path="remoting/android/java/res"/>
|
|
</issue>
|
|
<issue id="InconsistentLayout" severity="ignore"/>
|
|
<issue id="InflateParams" severity="ignore"/>
|
|
<issue id="LongLogTag" severity="ignore"/>
|
|
<issue id="MissingApplicationIcon" severity="ignore"/>
|
|
<issue id="MissingPermission" severity="ignore"/>
|
|
<issue id="MissingRegistered" severity="ignore"/>
|
|
<issue id="MissingVersion">
|
|
<ignore path="AndroidManifest.xml"/>
|
|
</issue>
|
|
<issue id="InlinedApi" severity="ignore"/>
|
|
<issue id="NewApi">
|
|
<ignore regexp="Attribute `paddingStart` referenced here can result in a crash on some specific devices older than API 17"/>
|
|
<ignore path="org/chromium/base/AnimationFrameTimeHistogram$Recorder.class"/>
|
|
<ignore path="org/chromium/base/JavaHandlerThread.class"/>
|
|
<ignore path="org/chromium/base/SysUtils.class"/>
|
|
<ignore path="org/chromium/chrome/browser/TtsPlatformImpl.class"/>
|
|
<ignore path="org/chromium/chrome/browser/TtsPlatformImpl$*.class"/>
|
|
<ignore path="chrome/android/java/res/values-v17/styles.xml"/>
|
|
</issue>
|
|
<issue id="OldTargetApi">
|
|
<ignore path="AndroidManifest.xml"/>
|
|
</issue>
|
|
<issue id="Overdraw" severity="ignore"/>
|
|
<issue id="Recycle" severity="ignore"/>
|
|
<issue id="Registered" severity="ignore"/>
|
|
<issue id="RtlCompat" severity="ignore"/>
|
|
<issue id="RtlEnabled" severity="ignore"/>
|
|
<issue id="RtlSymmetry" severity="ignore"/>
|
|
<issue id="SdCardPath">
|
|
<ignore path="content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java"/>
|
|
</issue>
|
|
<issue id="SetJavaScriptEnabled" severity="ignore"/>
|
|
<issue id="UnusedResources">
|
|
<!-- Used by chrome/android/java/AndroidManifest.xml -->
|
|
<ignore path="chrome/android/java/res/drawable/window_background.xml" />
|
|
<ignore path="chrome/android/java/res/xml/bookmark_widget_info.xml" />
|
|
<ignore path="chrome/android/java/res/xml/file_paths.xml" />
|
|
|
|
<ignore path="content/shell/android/shell_apk/res/layout/content_shell_activity.xml" />
|
|
<ignore path="content/shell/android/shell_apk/res/values/strings.xml" />
|
|
</issue>
|
|
<issue id="SignatureOrSystemPermissions" severity="ignore"/>
|
|
<issue id="UnusedAttribute" severity="ignore"/>
|
|
<issue id="ViewConstructor" severity="ignore"/>
|
|
<issue id="WrongCall" severity="ignore"/>
|
|
<issue id="UselessParent">
|
|
<ignore path="chrome/android/java/res/layout/data_reduction_promo_screen.xml" />
|
|
</issue>
|
|
</lint>
|