blob: 7ad4ddea6ff088c97f63dc144d6bbd5d604445cf [file] [log] [blame]
<?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)
-->
<!-- AllowBackup defaults to true, and causes a lint warning if not explicitly set. -->
<issue id="AllowBackup">
<ignore path="AndroidManifest.xml"/>
</issue>
<!-- We use asserts in Chromium. See https://chromium.googlesource.com/chromium/src/+/master/styleguide/java/java.md#Asserts -->
<issue id="Assert" severity="ignore"/>
<issue id="AuthLeak" severity="Error">
<ignore regexp="chrome/android/javatests"/>
</issue>
<issue id="BadHostnameVerifier" severity="Error">
<!-- Safe, used in test only. -->
<ignore regexp="net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java"/>
</issue>
<issue id="ButtonOrder" severity="Error">
<ignore regexp="chrome/android/java/res/layout/homepage_editor.xml"/>
</issue>
<issue id="ButtonStyle" severity="Error">
<ignore regexp="remoting/android/host/res/layout/main.xml"/>
</issue>
<!-- Found in generated android_chrome_strings.xml. -->
<issue id="ByteOrderMark" severity="Error">
<ignore regexp="values-pt-rBR/android_chrome_strings.xml"/>
</issue>
<issue id="CommitPrefEdits">
<ignore regexp="third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/ticl/android2/channel/AndroidChannelPreferences.java"/>
</issue>
<issue id="ContentDescription" severity="Error">
<ignore regexp="chromecast/internal"/>
</issue>
<issue id="DefaultLocale">
<ignore regexp="clank"/>
<ignore regexp="com/android/tv"/>
<ignore regexp="org/chromium/chrome/browser/payments/PaymentRequestMetricsTest.class"/>
<ignore regexp="org/chromium/chrome/browser/preferences/website/UsbChooserPreferences"/>
<ignore regexp="org/chromium/chrome/browser/preferences/website/UsbDevicePreferences"/>
<ignore regexp="third_party/cacheinvalidation/src/java/com/google/ipc/invalidation/external/client/contrib/AndroidListenerState.java"/>
</issue>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<issue id="Deprecated" severity="Error">
<ignore regexp="android:singleLine"/>
<ignore regexp="AndroidManifest.xml"/>
<ignore regexp="/test/"/>
</issue>
<issue id="DrawAllocation">
<ignore regexp="content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java"/>
<ignore regexp="content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java"/>
</issue>
<issue id="ExportedContentProvider">
<ignore path="AndroidManifest.xml"/>
</issue>
<issue id="ExportedService" severity="Error">
<ignore regexp="AndroidManifest.xml"/>
</issue>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<issue id="GoogleAppIndexingUrlError" severity="Error">
<ignore regexp="AndroidManifest.xml"/>
</issue>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<issue id="GoogleAppIndexingWarning" severity="Error">
<ignore regexp="AndroidManifest.xml"/>
</issue>
<issue id="HandlerLeak">
<ignore regexp="android_webview/glue/java/src/com/android/webview/chromium/WebViewContentsClientAdapter.java" />
<ignore regexp="chromecast/internal" />
<ignore regexp="remoting/android/java/src/org/chromium/chromoting/TapGestureDetector.java" />
</issue>
<issue id="HardcodedDebugMode" severity="Fatal">
<ignore path="AndroidManifest.xml"/>
</issue>
<issue id="HardcodedText" severity="Error">
<ignore regexp="chromecast/internal"/>
<ignore regexp="remoting/android/host/res/layout/main.xml"/>
</issue>
<issue id="IconColors" severity="Error">
<ignore regexp="tools/android/audio_focus_grabber/java/res/drawable-hdpi/notification_icon.png"/>
<ignore regexp="tools/android/audio_focus_grabber/java/res/drawable-mdpi/notification_icon.png"/>
<ignore regexp="tools/android/audio_focus_grabber/java/res/drawable-xhdpi/notification_icon.png"/>
<ignore regexp="tools/android/audio_focus_grabber/java/res/drawable-xxhdpi/notification_icon.png"/>
<ignore regexp="tools/android/audio_focus_grabber/java/res/drawable-xxxhdpi/notification_icon.png"/>
</issue>
<issue id="IconDensities">
<!-- The large assets below only include a few densities to reduce APK size. -->
<ignore regexp="data_reduction_illustration.png"/>
<!-- This is intentional to save on WebAPKs' size. -->
<ignore regexp="chrome/android/webapk/shell_apk/res/drawable-*"/>
<!-- crbug.com/457918 is tracking missing assets -->
<ignore regexp="chrome/android/java/res/drawable-xxhdpi"/>
<ignore regexp="chrome/android/java/res/drawable-xxxhdpi"/>
<ignore regexp="chromecast/internal"/>
<ignore regexp="components/web_contents_delegate_android/android/java/res/drawable-xxhdpi"/>
<ignore regexp="components/web_contents_delegate_android/android/java/res/drawable-xxxhdpi"/>
<ignore regexp="content/public/android/java/res/drawable-xxhdpi"/>
<ignore regexp="content/public/android/java/res/drawable-xxxhdpi"/>
<ignore regexp="ui/android/java/res/drawable-xxhdpi"/>
<ignore regexp="ui/android/java/res/drawable-xxxhdpi"/>
</issue>
<issue id="IconDipSize">
<ignore regexp="chromecast/internal"/>
</issue>
<issue id="IconDuplicates" severity="Error">
<ignore regexp="chromecast/internal"/>
</issue>
<issue id="IconDuplicatesConfig" severity="Error">
<ignore regexp="chromecast/internal"/>
</issue>
<issue id="IconLauncherShape" severity="Error">
<ignore regexp="chromecast/internal"/>
</issue>
<issue id="IconLocation">
<ignore regexp="chromecast/internal"/>
<!-- It is OK for content_shell_apk to have missing assets. -->
<ignore regexp="content/shell/android/java/res/"/>
<!-- Suppression for chrome/test/chromedriver/test/webview_shell/java/res/drawable/icon.png -->
<ignore regexp="res/drawable/icon.png"/>
</issue>
<issue id="IconMissingDensityFolder">
<!-- see crbug.com/542435 -->
<ignore regexp="android_webview/apk/java/res"/>
<ignore regexp="android_webview/tools/system_webview_shell/apk/res"/>
<ignore regexp="chrome/android/webapk/shell_apk/res"/>
<ignore regexp="chromecast/internal"/>
<ignore regexp="tools/android/push_apps_to_background/res"/>
</issue>
<issue id="ImpliedQuantity" severity="Error">
<ignore regexp="chrome/android/chrome_strings_grd"/>
</issue>
<issue id="InconsistentArrays" severity="Error">
<ignore regexp="android_webview/locale_paks.resources.zip/values/locale-paks.xml"/>
<ignore regexp="chrome/android/chrome_locale_paks.resources.zip/values/locale-paks.xml"/>
</issue>
<issue id="InconsistentLayout" severity="ignore"/>
<issue id="InefficientWeight" severity="Error">
<ignore regexp="android_webview/tools/system_webview_shell/apk/res/layout/activity_webview_browser.xml"/>
</issue>
<issue id="InflateParams" severity="ignore"/>
<issue id="InlinedApi" severity="ignore"/>
<issue id="InvalidPackage" severity="Error">
<ignore regexp="espresso/espresso_core_java.interface.jar"/>
</issue>
<issue id="LabelFor" severity="Error">
<ignore regexp="android_webview/tools/system_webview_shell/apk/res/layout/activity_webview_browser.xml"/>
</issue>
<issue id="LintError" severity="Error"/>
<issue id="LogConditional" severity="ignore"/>
<issue id="LongLogTag" severity="ignore"/>
<issue id="MissingApplicationIcon" severity="ignore"/>
<issue id="MissingPermission" severity="ignore"/>
<!-- TODO(yolandyan) remove this once all tests are converted to junit4 -->
<issue id="MissingPrefix" severity="ignore"/>
<!--
TODO(estevenson) remove this once translations are added for
IDS_ACCESSIBILITY_TOOLBAR_BTN_TABSWITCHER_TOGGLE (http://crbug.com/635677)
-->
<issue id="MissingQuantity">
<ignore regexp="android_chrome_strings.xml"/>
</issue>
<issue id="MissingRegistered" severity="ignore"/>
<issue id="MissingSuperCall" severity="Error">
<ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/widget/selection/SelectionToolbar.java"/>
</issue>
<issue id="MissingTranslation">
<!-- http://crbug.com/450548 -->
<ignore regexp="chromecast/internal"/>
<ignore regexp="restriction_values.xml.*"/>
</issue>
<issue id="MissingVersion">
<ignore path="AndroidManifest.xml"/>
</issue>
<!-- TODO(crbug.com/739746): Remove once platform-tools is updated. -->
<issue id="NewApi" 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 regexp="chrome/android/java/res/values-v17/styles.xml"/>
<ignore regexp="chromecast/internal"/>
<ignore regexp="com/android/tv"/>
<ignore regexp="com/android/webview/chromium/ServiceWorkerControllerAdapter.class"/>
<ignore regexp="com/android/webview/chromium/ServiceWorkerSettingsAdapter.class"/>
<ignore regexp="com/android/webview/chromium/WebViewChromium.class"/>
<ignore regexp="com/android/webview/chromium/WebViewChromiumFactoryProvider.class"/>
<ignore regexp="com/chrome/cloud/experimental/airspeed/BenchmarksTest.class"/>
<ignore regexp="com/google/android/apps/cast"/>
<ignore regexp="com/google/android/apps/mediashell"/>
<ignore regexp="org/chromium/base/AnimationFrameTimeHistogram.*Recorder.class"/>
<ignore regexp="org/chromium/base/JavaHandlerThread.class"/>
<ignore regexp="org/chromium/base/SysUtils.class"/>
<ignore regexp="org/chromium/chrome/browser/TtsPlatformImpl.class"/>
<ignore regexp="org/chromium/chrome/browser/ntp/IncognitoNewTabPage.class"/>
<ignore regexp="org/chromium/chrome/browser/ntp/NewTabPage.class"/>
<ignore regexp="org/chromium/chromecast/base/CastSettingsManager.class"/>
<ignore regexp="org/chromium/memconsumer/MemConsumer.*.class"/>
<ignore regexp="org/chromium/memconsumer/ResidentService.class"/>
<ignore regexp="org/chromium/mojo/bindings/ValidationTest.class"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="sdk/extras/chromium/support/src/org/chromium/android/support/PackageManagerWrapper.java"/>
</issue>
<issue id="OldTargetApi">
<ignore path="AndroidManifest.xml"/>
</issue>
<issue id="Overdraw" severity="ignore"/>
<issue id="Override">
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="org/chromium/content/browser/input/ThreadedInputConnection.class"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="com/android/webview/chromium/ContentSettingsAdapter.class"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="com/android/webview/chromium/ServiceWorkerControllerAdapter.class"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="com/android/webview/chromium/ServiceWorkerSettingsAdapter.class"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="org/chromium/chrome/browser/ChromeActivity.class"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="org/chromium/chrome/browser/ChromeTabbedActivity.class"/>
</issue>
<issue id="PackageManagerGetSignatures">
<ignore regexp="chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/WebApkValidator.java"/>
<ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/customtabs/OriginVerifier.java"/>
</issue>
<issue id="PluralsCandidate" severity="Error">
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-en-rGB/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values/android_chrome_strings.xml"/>
</issue>
<issue id="Recycle" severity="ignore"/>
<issue id="Registered" severity="ignore"/>
<issue id="ResourceType" severity="Error">
<ignore regexp="/javatests/"/>
</issue>
<issue id="RtlCompat" severity="ignore"/>
<issue id="RtlEnabled" severity="ignore"/>
<issue id="RtlSymmetry" severity="ignore"/>
<issue id="SdCardPath">
<ignore regexp="content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java"/>
</issue>
<issue id="SetJavaScriptEnabled" severity="ignore"/>
<issue id="SignatureOrSystemPermissions" severity="ignore"/>
<issue id="SpUsage" severity="Error">
<ignore regexp="chromecast/internal"/>
</issue>
<issue id="StringFormatCount" severity="Error">
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-cs/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-pl/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values/android_chrome_strings.xml"/>
</issue>
<issue id="StringFormatInvalid" severity="Error">
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-cs/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-da/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-pl/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-pt-rBR/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-sv/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-tl/android_chrome_strings.xml"/>
</issue>
<!-- We have many C++ enums that we don't care about in java -->
<issue id="SwitchIntDef" severity="ignore"/>
<issue id="TextFields" severity="Error">
<ignore regexp="chromecast/internal"/>
</issue>
<issue id="TypographyDashes" severity="Error">
<ignore regexp="chrome/app/policy/android/values-v21/restriction_values.xml"/>
</issue>
<!-- Typos check disabled due to lint bug: http://crbug.com/671170 -->
<issue id="Typos" severity="ignore" />
<issue id="UnusedAttribute" severity="ignore"/>
<issue id="UnusedIds" severity="ignore"/>
<issue id="UnusedQuantity" severity="Error">
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-cs/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-in/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-ja/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-ko/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-lt/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-sk/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-th/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-vi/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-zh-rCN/android_chrome_strings.xml"/>
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values-zh-rTW/android_chrome_strings.xml"/>
</issue>
<!-- Our generated enums are allowed to have the same values. -->
<issue id="UniqueConstants" severity="ignore"/>
<!-- Please add rationale to each UnusedResources suppression. -->
<issue id="UnusedResources">
<!-- These 3 raw resources are accessed by URL in various places -->
<ignore regexp="PRODUCT_DIR/gen/remoting/android/.*/res/raw/credits.html"/>
<ignore regexp="PRODUCT_DIR/gen/remoting/android/.*/res/raw/credits_css.css"/>
<ignore regexp="PRODUCT_DIR/gen/remoting/android/.*/res/raw/credits_js.js"/>
<!-- The 2 dimens override support library's res, will be changing soon -->
<ignore regexp="design_bottom_navigation_text_size"/>
<ignore regexp="design_bottom_navigation_active_text_size"/>
<!-- This 1 string is used in CronetSmokeTestCase dynamically -->
<ignore regexp="R.string.TestSupportImplClass"/>
<!-- TODO(iuliah@google.com): Remove suppression when wired up -->
<ignore regexp="chrome/android/java/res/layout/signin_promo_view.xml"/>
<ignore regexp="R.dimen.signin_promo_account_image_size"/>
<ignore regexp="R.dimen.signin_promo_cold_state_image_size"/>
<!-- TODO(wnwen): Clean up the suppressions below this comment -->
<ignore regexp="android_ui_strings.xml"/>
<ignore regexp="android_webview/java/res/drawable-hdpi/ic_play_circle_outline_black_48dp.png"/>
<ignore regexp="android_webview/test/shell/res/raw/resource_file.html"/>
<ignore regexp="android_webview/test/shell/res/raw/resource_icon.png"/>
<ignore regexp="android_webview/tools/automated_ui_tests/java/res/"/>
<ignore regexp="chrome/android/java/res/drawable-hdpi/*"/>
<ignore regexp="chrome/android/java/res/drawable-nodpi/missing.png"/>
<ignore regexp="chrome/android/java/res/values-v17/styles.xml"/>
<ignore regexp="chromecast/browser/android/apk/res/values/strings.xml"/>
<ignore regexp="chromecast/internal"/>
<ignore regexp="clank"/>
<ignore regexp="content/shell/android/java/res/mipmap-hdpi/app_icon.png"/>
<ignore regexp="android_webview/locale_paks.resources.zip/*"/>
<ignore regexp="android_webview/strings_grd.resources.zip/values/android_webview_strings.xml"/>
<ignore regexp="components/strings/components_strings_grd.resources.zip/values.*/components_strings.xml"/>
<ignore regexp="remoting/resources/strings_java.resources.zip/values/remoting_strings.xml"/>
<ignore regexp="remoting/android/java/res/drawable-hdpi/ic_backspace.png"/>
<ignore regexp="remoting/android/java/res/drawable-hdpi/ic_cardboard.png"/>
<ignore regexp="remoting/android/java/res/drawable-hdpi/ic_voice_input.png"/>
<ignore regexp="remoting/android/java/res/drawable-hdpi/ic_zoom_in.png"/>
<ignore regexp="remoting/android/java/res/drawable-hdpi/ic_zoom_out.png"/>
<ignore regexp="remoting/android/java/res/layout/navigation_list_item.xml"/>
<ignore regexp="remoting/android/java/res/values-v17/styles.xml"/>
<!-- Used by Android's policies system -->
<ignore regexp="restriction_values.xml"/>
<ignore regexp="ui/android/java/res/drawable-hdpi/verify_checkmark.png"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="ui/android/java/res/values/dimens.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="components/autofill/android/java/res/values/dimens.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="components/autofill/android/java/res/drawable/autofill_chip_inset.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="components/autofill/android/java/res/layout/autofill_keyboard_accessory_icon.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="components/autofill/android/java/res/layout/autofill_keyboard_accessory_item.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/public/android/java/res/raw/empty.wav"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/public/android/java/res/drawable-hdpi/ic_menu_share_holo_light.png"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/public/android/java/res/drawable-hdpi/ic_search.png"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/public/android/java/res/menu/select_action_menu.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="remoting/android/java/res/menu/chromoting_actionbar.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="remoting/android/java/res/menu/desktop_actionbar.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="remoting/android/java/res/menu/host_context_menu.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="remoting/android/java/res/drawable-hdpi/*"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/public/android/java/res/values-v17/styles.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/public/android/content_strings_grd.resources.zip/values/android_content_strings.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="components/web_contents_delegate_android/android/java/res/drawable-hdpi/bubble.9.png"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="components/web_contents_delegate_android/android/java/res/drawable-hdpi/bubble_arrow_up.png"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="components/web_contents_delegate_android/android/java/res/drawable-hdpi/ic_warning.png"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="components/web_contents_delegate_android/android/java/res/layout/validation_message_bubble.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/shell/android/java/res/drawable/ic_refresh.png"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/shell/android/java/res/drawable/progress.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/shell/android/java/res/layout/shell_view.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/shell/android/java/res/values/strings.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="android_webview/test/shell/res/values/config.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="android_webview/test/shell/res/layout/testshell_activity.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="chrome/android/java/res/anim/accelerate_quart.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="chrome/android/java/res/layout/accessibility_tab_switcher.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="chrome/android/java/res/drawable/accessibility_tab_switcher_divider.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="chrome/android/java/res/layout/accessibility_tab_switcher_list_item.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="chrome/android/java/res/layout/account_chooser_dialog_item.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="chrome/android/java/res/layout/account_chooser_dialog_title.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="chrome/android/java/res/drawable-hdpi/account_management_no_picture.png"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="chrome/android/java/res/xml/account_management_preferences.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="chrome/android/java/res/anim/activity_close_exit.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="chrome/android/java/res/anim/activity_open_enter.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="chrome/android/chrome_strings_grd.resources.zip/values/android_chrome_strings.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/shell/android/shell_apk/res/layout/content_shell_activity.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/shell/android/linker_test_apk/res/layout/test_activity.xml"/>
<!-- TODO(crbug.com/635567): Fix this properly. -->
<ignore regexp="content/shell/android/shell_apk/res/values/strings.xml"/>
</issue>
<issue id="UseCompoundDrawables">
<!-- Upscaling 24dp to 48dp doesn't work as expected with a TextView compound drawable. -->
<ignore regexp="chrome/android/java/res/layout/photo_picker_bitmap_view.xml"/>
</issue>
<issue id="UselessParent">
<ignore regexp="android_webview/tools/system_webview_shell/apk/res/layout/activity_webview_browser.xml"/>
<ignore regexp="chrome/android/java/res/layout/data_usage_breakdown.xml"/>
<ignore regexp="chromecast/internal"/>
<ignore regexp="tools/android/kerberos/SpnegoAuthenticator/res/layout/activity_account_authenticator.xml"/>
</issue>
<issue id="UsesMinSdkAttributes" severity="Error">
<ignore regexp="AndroidManifest.xml"/>
</issue>
<issue id="ValidFragment" severity="Error">
<ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/media/router/BaseMediaRouteDialogManager.java"/>
<ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/media/router/MediaRouteChooserDialogManager.java"/>
<ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/media/router/MediaRouteControllerDialogManager.java"/>
<ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/OtherFormsOfHistoryDialogFragment.java"/>
<ignore regexp="media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java"/>
</issue>
<issue id="ViewConstructor" severity="ignore"/>
<issue id="VisibleForTests" severity="Error">
<ignore regexp="chrome/android/javatests"/>
<ignore regexp="/test/"/>
</issue>
<issue id="WrongCall" severity="ignore"/>
<issue id="WrongConstant">
<ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java"/>
<ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/payments/ui/EditorDialog.java"/>
<ignore regexp="chrome/android/java/src/org/chromium/chrome/browser/signin/SigninAndSyncView.java"/>
</issue>
<issue id="IconLauncherFormat" severity="ignore">
<!-- TODO(crbug.com/739746): Remove after lint version has been updated. -->
<ignore regexp="remoting/android/java/res/mipmap-anydpi-v26/ic_launcher.xml"/>
</issue>
</lint>