1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
   89
   90
   91
   92
   93
   94
   95
   96
   97
   98
   99
  100
  101
  102
  103
  104
  105
  106
  107
  108
  109
  110
  111
  112
  113
  114
  115
  116
  117
  118
  119
  120
  121
  122
  123
  124
  125
  126
  127
  128
  129
  130
  131
  132
  133
  134
  135
  136
  137
  138
  139
  140
  141
  142
  143
  144
  145
  146
  147
  148
  149
  150
  151
  152
  153
  154
  155
  156
  157
  158
  159
  160
  161
  162
  163
  164
  165
  166
  167
  168
  169
  170
  171
  172
  173
  174
  175
  176
  177
  178
  179
  180
  181
  182
  183
  184
  185
  186
  187
  188
  189
  190
  191
  192
  193
  194
  195
  196
  197
  198
  199
  200
  201
  202
  203
  204
  205
  206
  207
  208
  209
  210
  211
  212
  213
  214
  215
  216
  217
  218
  219
  220
  221
  222
  223
  224
  225
  226
  227
  228
  229
  230
  231
  232
  233
  234
  235
  236
  237
  238
  239
  240
  241
  242
  243
  244
  245
  246
  247
  248
  249
  250
  251
  252
  253
  254
  255
  256
  257
  258
  259
  260
  261
  262
  263
  264
  265
  266
  267
  268
  269
  270
  271
  272
  273
  274
  275
  276
  277
  278
  279
  280
  281
  282
  283
  284
  285
  286
  287
  288
  289
  290
  291
  292
  293
  294
  295
  296
  297
  298
  299
  300
  301
  302
  303
  304
  305
  306
  307
  308
  309
  310
  311
  312
  313
  314
  315
  316
  317
  318
  319
  320
  321
  322
  323
  324
  325
  326
  327
  328
  329
  330
  331
  332
  333
  334
  335
  336
  337
  338
  339
  340
  341
  342
  343
  344
  345
  346
  347
  348

chrome / android / expectations / lint-suppressions.xml [blame]

<?xml version="1.0" encoding="utf-8" ?>
<!--
Please refer to the lint doc for how to use this file and what should go in it:
https://chromium.googlesource.com/chromium/src/+/main/build/android/docs/lint.md
-->
<lint>
  <!-- Ignore all lint errors in clank code. -->
  <issue id="all">
    <ignore regexp="^\.\./\.\./clank/"/>
    <ignore regexp="^gen/clank/"/>
    <!-- obj can be a subdirectory under gen. -->
    <ignore regexp="/obj/clank/"/>
  </issue>
  <issue id="AcceptsUserCertificates">
    <!-- See https://crbug.com/827265 and comment in the file for context. -->
    <ignore regexp="chrome/android/java/res_base/xml/network_security_config.xml"/>
  </issue>
  <issue id="ExifInterface">
      <!-- TODO(crbug.com/40559214): Update to androidx ExifInterface. -->
      <ignore regexp="components/browser_ui/photo_picker/android/java/src/org/chromium/components/browser_ui/photo_picker/BitmapUtils.java"/>
  </issue>
  <issue id="IconDensities">
    <!-- Originals are gone, so ignore these specific ones: crbug.com/457918 -->
    <ignore regexp="btn_bg_holo_active_normal.png, btn_bg_holo_active_pressed.png, btn_bg_holo_pressed.png"/>
    <!-- This is intentional to save on WebAPKs' size. -->
    <ignore regexp="chrome/android/webapk/shell_apk/res/drawable-*"/>
  </issue>
  <issue id="IconDipSize">
    <!-- These only need to be 1px for all densities. See: crbug.com/804449 -->
    <ignore regexp="chrome/android/java/res/.*tab_strip_fade"/>
  </issue>
  <issue id="IconLocation">
    <!-- It is OK for content_shell_apk to have missing assets. -->
    <ignore regexp="content/shell/android/java/res/"/>
    <!-- Memconsumer is only for tooling -->
    <ignore regexp="tools/android/memconsumer/java/res/drawable/"/>
  </issue>
  <issue id="IconMissingDensityFolder">
    <!-- Originals are gone, so ignore these specific ones: crbug.com/457918 -->
    <ignore regexp="components/embedder_support/android/java/res"/>
  </issue>
  <issue id="ImpliedQuantity">
    <ignore regexp="chrome/android/features/tab_ui/java_strings_grd"/>
    <ignore regexp="chrome/browser/touch_to_fill/password_manager/android/internal/java_strings_grd"/>
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd"/>
    <ignore regexp="components/browser_ui/strings/android/browser_ui_strings_grd"/>
    <ignore regexp="components/strings/components_strings_grd"/>
    <ignore regexp="components/strings/privacy_sandbox_strings_grd"/>
  </issue>
  <issue id="InsecureBaseConfiguration">
    <!-- See https://crbug.com/827265 and comment in the file for context. -->
    <ignore regexp="chrome/android/java/res_base/xml/network_security_config.xml"/>
  </issue>
  <!-- InvalidSetHasFixedSize should not be disabled. If the check fails, check that
    RecyclerViews which set RecyclerView#setHasFixedSize(true) have a globally unique id. -->
  <issue id="InvalidVectorPath" severity="ignore"/>
  <issue id="LogConditional" severity="ignore"/>
  <issue id="LongLogTag" severity="ignore"/>
  <issue id="MissingClass" severity="ignore"/>
  <issue id="MissingDefaultResource">
    <!-- Only used by ToolbarControlContainer guarded by tablet form-factor. -->
    <ignore regexp="toolbar_background.9.png"/>
    <!-- Only used by FirstRunFlowSequencer guarded by tablet form-factor. -->
    <ignore regexp="window_background.xml"/>
  </issue>
  <issue id="MissingPermission" severity="ignore"/>
  <issue id="MissingQuantity" severity="ignore"/>
  <issue id="MissingTranslation">
    <ignore regexp="restriction_values.xml.*"/>
  </issue>
  <issue id="NewApi">
    <!-- Do not add new suppressions without rationale. -->
    <!-- 2: We support these via desugar. -->
    <ignore regexp="Default method requires API level 24"/>
    <ignore regexp="Static interface  method requires API level 24"/>
    <!-- 1: TaskInfo is refactored at API 29. -->
    <ignore regexp="Field requires API level .*`android.app.TaskInfo"/>
    <!-- Endnote: Please specify number of suppressions when adding more -->
  </issue>
  <!-- This check doesn't tend to catch new violations except when we increase
  our minSdkVersion. We prefer to clean up these obsolete checks
  incrementally after increasing minSdkVersion. -->
  <issue id="ObsoleteSdkInt" severity="ignore"/>
  <issue id="OldTargetApi" severity="ignore"/>
  <issue id="OnClick">
    <!-- False positive, see: http://issuetracker.google.com/148523770 for
         similar issue. -->
    <ignore regexp="tools/android/audio_focus_grabber/java/res/layout/audio_focus_grabber_activity.xml"/>
  </issue>
  <issue id="Overdraw" severity="ignore"/>
  <issue id="PackageManagerGetSignatures">
    <ignore regexp="chrome/browser/android/browserservices/verification/java/src/org/chromium/chrome/browser/browserservices/verification/PackageFingerprintCalculator.java"/>
    <ignore regexp="chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/WebApkValidator.java"/>
  </issue>
  <issue id="PluralsCandidate">
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values-en-rGB/android_chrome_strings.xml"/>
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values/android_chrome_strings.xml"/>
  </issue>
  <issue id="PrivateApi" severity="ignore"/>
  <!-- Chrome is a system app. -->
  <issue id="ProtectedPermissions" severity="ignore"/>
  <!-- Android 11+ package visibility: g.co/dev/packagevisibility -->
  <issue id="QueryAllPackagesPermission" severity="ignore"/>
  <issue id="RestrictedApi">
    <!-- Chrome uses these GMS core APIs. -->
    <ignore regexp="is marked as internal and should not be accessed from apps"/>
  </issue>
  <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"/>
  <!-- Android 10+ WRITE_EXTERNAL_STORAGE changed meaning. -->
  <issue id="ScopedStorage" severity="ignore"/>
  <issue id="SetJavaScriptEnabled" severity="ignore"/>
  <issue id="SignatureOrSystemPermissions" severity="ignore"/>
  <issue id="StringFormatCount">
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values-af/android_chrome_strings.xml"/>
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values-cs/android_chrome_strings.xml"/>
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values-fr/android_chrome_strings.xml"/>
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values-pl/android_chrome_strings.xml"/>
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values/android_chrome_strings.xml"/>
    <!-- This string has a % in it. -->
    <ignore regexp="data_reduction_promo_infobar_title"/>
  </issue>
  <!-- Many .xtb files have a % that is not part of a formatted string.
       https://crbug.com/941164 -->
  <issue id="StringFormatInvalid" severity="ignore"/>
  <issue id="StringFormatMatches" severity="ignore"/>
  <issue id="TypographyDashes">
    <!-- The double dash in the following file is a command line flag. -->
    <ignore regexp="chrome/app/policy/android/values-v21/restriction_values.xml"/>
    <ignore regexp="components/strings/components_strings_grd.resources.zip/values-th/components_strings.xml"/>
  </issue>
  <issue id="TypographyEllipsis">
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values-uz/android_chrome_strings.xml"/>
  </issue>
  <issue id="UnusedIds" severity="ignore"/>
  <issue id="UnusedQuantity" severity="ignore"/>
  <issue id="UnusedResources">
    <!-- Do not add new suppressions without rationale. -->
    <!-- 1: resource used by android webview glue layer, could be refactored -->
    <ignore regexp="R.string.private_browsing_warning"/>
    <!-- 4: The WAM server currently has 2 codes paths for minting a WebAPK, and
         it needs these "unused" resources.
         TODO(crbug.com/40097564): Remove suppression once 2 code paths are merged -->
    <ignore regexp="The resource `R.mipmap.ic_launcher_background` appears to be unused"/>
    <ignore regexp="The resource `R.mipmap.ic_launcher_foreground` appears to be unused"/>
    <ignore regexp="The resource `R.mipmap.maskable_splash_icon_xxhdpi` appears to be unused"/>
    <ignore regexp="The resource `R.mipmap.maskable_splash_icon_xxxhdpi` appears to be unused"/>
    <!-- 1: Module titles may only be used by the Play Store. -->
    <ignore regexp="The resource `R.string.*_module_title` appears to be unused"/>
    <!-- crbug.com/1004570 remove this line and the following six lines after the bug resolved -->
    <ignore regexp="The resource `R.string.accessibility_tab_suggestion_review_button` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_tab_suggestion_close_stale_message` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_tab_suggestion_dismiss_button` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_suggestion_close_stale_message` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_suggestion_close_tab_action_button` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_suggestion_review_button` appears to be unused"/>
    <!-- crbug.com/1117145 remove this line and the following 23 lines after the bug is resolved -->
    <ignore regexp="The resource `R.layout.language_picker` appears to be unused"/>
    <!-- crbug.com/1076538 remove this line and the following two lines after the bug is resolved -->
    <ignore regexp="The resource `R.string.accessibility_tab_suggestion_group_tabs_message` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_suggestion_group_tabs_message` appears to be unused"/>
    <!-- crbug.com/1111942 remove this line and following 7 lines after the bug is resolved -->
    <ignore regexp="The resource `R.string.accessibility_tab_switcher` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_close_tab_group_button` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_close_tab_group_button_with_group_name` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_expand_tab_group_with_group_name` appears to be unused"/>

    <!-- crbug.com/1127531 remove this line and following 9 lines after the bug is resolved -->
    <ignore regexp="The resource `R.string.languages_content_description` appears to be unused"/>
    <ignore regexp="The resource `R.string.languages_select_suggested` appears to be unused"/>
    <ignore regexp="The resource `R.string.languages_select_other` appears to be unused"/>
    <ignore regexp="The resource `R.string.languages_settings_advanced` appears to be unused"/>
    <ignore regexp="The resource `R.string.languages_settings_dont_offer_sites` appears to be unused"/>
    <ignore regexp="The resource `R.string.languages_settings_never_sites_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.languages_settings_target` appears to be unused"/>
    <ignore regexp="The resource `R.string.translate_dont_offer_site` appears to be unused"/>
    <ignore regexp="The resource `R.string.translate_dont_offer_lang` appears to be unused"/>

    <!-- Old-style and new-style WebAPKs use same resources for simplicity. Old-style WebAPKs do
         not use R.style.SplashTheme but new-style WebAPKs do.
         TODO(crbug.com/41463410): Remove suppression once old-style WebAPKs are deprecated. -->
    <ignore regexp="The resource `R.style.SplashTheme` appears to be unused"/>
    <!-- 1 resource used by android webview glue layer, could be refactored -->
    <ignore regexp="android_webview/java/res/drawable-hdpi/ic_play_circle_outline_black_48dp.png"/>
    <!-- 1: resource in //ui because it's used by multiple deps. -->
    <ignore regexp="The resource `R.drawable.*_expand_.*` appears to be unused"/>
    <!-- 1 string used by Android's policies system, pulled from app directly -->
    <ignore regexp="restriction_values.xml"/>
    <!--TODO(crbug.com/40674284): Remove this suppression once ConnectionInfoPopAndroid moves to components.-->
    <ignore regexp="components/page_info/android/java/res/drawable-hdpi/pageinfo_*"/>
    <!--TODO(crbug.com/40674284): Remove this suppression once PermissionParamsListBuilder moves to components.-->
    <ignore regexp="The resource `R.string.page_info_permission_ads_subtitle` appears to be unused"/>
    <!--TODO(crbug.com/40125810): The following 10 are found when we switched to linting the entire app. -->
    <ignore regexp="The resource `R.string.download_manager_ui_documents` appears to be unused"/>
    <ignore regexp="The resource `R.string.download_manager_offline_home` appears to be unused"/>
    <ignore regexp="The resource `R.string.ntp_learn_more_about_suggested_content` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_switcher_button_label` appears to be unused"/>
    <ignore regexp="The resource `R.string.website_settings_category_notifications_block` appears to be unused"/>
    <ignore regexp="The resource `R.string.autofill_cc_google_issued` appears to be unused"/>
    <ignore regexp="The resource `R.string.notification_manage_button` appears to be unused"/>
    <ignore regexp="The resource `R.string.app_banner_add` appears to be unused"/>
    <ignore regexp="The resource `R.string.notification_category_permission_requests` appears to be unused"/>
    <!--TODO(crbug.com/40140313): Remove this suppression once Most Visited Tiles header is implemented.-->
    <ignore regexp="The resource `R.string.most_visited_tiles_header` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_omnibox_showing_suggestions_for_website` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_omnibox_most_visited_tile` appears to be unused"/>
    <!-- 1: Some strings in components_strings_grd are not used in other targets. -->
    <ignore regexp="webview_.*__lint.*components_strings_grd"/>
    <!-- TODO(crbug.com/371923550): Remove this suppression once plus address strings are migrated to the public repository. -->
    <ignore regexp="components/plus_addresses/resources/strings/strings_grd"/>
    <!-- 2: resource is used in C++ components/error_page. -->
    <ignore regexp="The resource `R.string.show_content` appears to be unused"/>
    <ignore regexp="The resource `R.string.hide_content` appears to be unused"/>
    <!-- 1: TODO(crbug.com/40725089) resource is used in downstream image editor. -->
    <ignore regexp="The resource `R.string.clear` appears to be unused"/>
    <!-- 5: Temporarily suppressed until impelmentation is ready, see https://crbug.com/1195477 -->
    <ignore regexp="The resource `R.string.merchant_viewer_message_description_rating` appears to be unused"/>
    <ignore regexp="The resource `R.string.merchant_viewer_message_rating_word` appears to be unused"/>
    <ignore regexp="The resource `R.plurals.accessibility_merchant_viewer_message_description` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_merchant_viewer_message_announcement` appears to be unused"/>
    <ignore regexp="The resource `R.string.merchant_viewer_message_rating_numerical` appears to be unused"/>
    <!-- 2: Temporarily suppressed until impelmentation is ready, see https://crbug.com/1295484 -->
    <ignore regexp="The resource `R.string.merchant_viewer_message_title_see_reviews` appears to be unused"/>
    <ignore regexp="The resource `R.plurals.merchant_viewer_message_description_reviews_from_google` appears to be unused"/>
    <!-- 4: Temporarily suppressed until impelmentation is ready, see https://crbug.com/1251446 -->
    <ignore regexp="The resource `R.string.price_drop_notification_content_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.price_drop_notification_content_text` appears to be unused"/>
    <ignore regexp="The resource `R.string.price_drop_notification_action_visit_site` appears to be unused"/>
    <ignore regexp="The resource `R.string.price_drop_notification_action_turn_off_alert` appears to be unused"/>

    <!-- crbug.com/1208536 remove this line and following 4 lines after the bug is resolved -->
    <ignore regexp="The resource `R.string.adaptive_toolbar_button_new_tab_iph` appears to be unused"/>
    <ignore regexp="The resource `R.string.adaptive_toolbar_button_share_iph` appears to be unused"/>
    <ignore regexp="The resource `R.string.adaptive_toolbar_button_voice_search_iph` appears to be unused"/>
    <ignore regexp="The resource `R.string.adaptive_toolbar_menu_edit_shortcut` appears to be unused"/>

    <!-- 3: TODO(crbug.com/40181762) Backup strings until implementation is ready. -->
    <ignore regexp="The resource `R.string.adaptive_toolbar_button_new_tab_iph_settings` appears to be unused"/>
    <ignore regexp="The resource `R.string.adaptive_toolbar_button_share_iph_settings` appears to be unused"/>
    <ignore regexp="The resource `R.string.adaptive_toolbar_button_voice_search_iph_settings` appears to be unused"/>

    <!-- 3: TODO(crbug.com/40183683) Remove when Shortcuts Widget is ready to ship. -->
    <ignore regexp="The resource `R.string.quick_action_search_widget_message_no_google_lens` appears to be unused"/>
    <ignore regexp="The resource `R.string.quick_action_search_widget_message_no_incognito` appears to be unused"/>
    <ignore regexp="The resource `R.string.quick_action_search_widget_message_no_voice_search` appears to be unused"/>

    <!--TODO(crbug.com/40208161): Remove unused resources when UX is finalized. -->
    <ignore regexp="The resource `R.string.price_tracking_title` appears to be unused"/>

    <!-- TODO(crbug.com/40227734): Remove unused resources when UX is finalized. -->
    <ignore regexp="The resource `R.string.search_resumption_module_title_short` appears to be unused"/>

    <!-- TODO(crbug.com/40225008): Remove the following 2 lines after the bug is resolved. -->
    <ignore regexp="The resource `R.string.iph_translate_message_dismissed_text` appears to be unused"/>
    <ignore regexp="The resource `R.string.iph_translate_message_dismissed_accessibility_text` appears to be unused"/>

    <!--TODO(crbug.com/41487877): Remove suppressions once implementation is ready. -->
    <ignore regexp="The resource `R.string.tab_resumption_module_other_devices_name` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_resumption_module_other_devices_context_menu_hide` appears to be unused"/>

    <!-- TODO(crbug.com/41487877): Remove the following 2 lines after the tab resumption module is implemented. -->
    <ignore regexp="The resource `R.string.home_modules_tab_resumption_one_tab_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.home_modules_tab_resumption_multiple_tabs_title` appears to be unused"/>

    <!-- TODO(https://crbug.com/324827395): Remove after the intermediate state for OneTapUnsubscribe is implemented. -->
    <ignore regexp="The resource `R.string.notification_unsubscribing_label` appears to be unused"/>

    <!-- TODO(crbug.com/334954448): Remove the following 3 lines after the CPSS settings for Android is implemented. -->
    <ignore regexp="The resource `R.string.website_settings_category_permission_quiet` appears to be unused"/>
    <ignore regexp="The resource `R.string.website_settings_category_permission_cpss` appears to be unused"/>
    <ignore regexp="The resource `R.string.website_settings_category_permission_loud` appears to be unused"/>

    <!-- TODO(crbug.com/324935631): Remove this once tab group sync is using these. -->
    <ignore regexp="The resource `R.string.tab_group_creation_dialog_sync_description` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_groups_category` appears to be unused"/>
    <ignore regexp="The resource `R.string.saved_tab_groups_data_summary` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_group_surface_iph_with_sync` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_group_surface_iph_no_sync` appears to be unused"/>
    <ignore regexp="The resource `R.string.newly_synced_tab_group_iph` appears to be unused"/>

    <!-- TODO(b/356947395): Remove this once the improved management disclosure uses the *_no_link version. -->
    <ignore regexp="The resource `R.string.management_legacy_tech_report_no_link` appears to be unused"/>

    <!-- TODO(b/362360807): Remove the following 2 lines after the bug is resolved. -->
    <ignore regexp="The resource `R.string.discount_code_copied_button_text` appears to be unused"/>
    <ignore regexp="The resource `R.string.discount_code_copy_button_text` appears to be unused"/>
    <ignore regexp="The resource `R.string.discount_container_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.discount_expiration_date_android` appears to be unused"/>

    <!-- TODO(b/379316800): Remove this once data sharing and collaboration is using these. -->
    <ignore regexp="The resource `R.string.collaboration_manage_group_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_manage_stop_sharing_option` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_stop_sharing_dialog_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_remove_member_dialog_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_remove_member_dialog_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_delete_dialog_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_delete_dialog_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_preview_dialog_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_link_failed_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_leave_dialog_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_leave_dialog_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_block_dialog_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_block_dialog_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_block_leave_dialog_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_block_leave_dialog_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_delete_last_tab_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_delete_last_tab_cancel` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_delete_last_tab_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_member_delete_last_tab_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_share_group_share_as` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_stop_sharing_dialog_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_remove_member_dialog_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_delete_dialog_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_link_failed_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_join_group_as` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_leave_dialog_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_block_dialog_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_block_leave_dialog_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_block_leave_learn_more` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_delete_last_tab_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_delete_last_tab_body_2` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_member_delete_last_tab_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_learn_about_shared_groups` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_people_with_access` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_link_edit_access` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_link_join_toggle` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_cancel` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_something_went_wrong_header` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_something_went_wrong_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.data_sharing_recent_activity_bottom_sheet_title` appears to be unused"/>

    <!-- TODO(crbug.com/380086456): Remove this once a decision is made to use either the short or the long version of the strings. -->
    <ignore regexp="The resource `R.string.auxiliary_search_module_content_short` appears to be unused"/>
    <ignore regexp="The resource `R.string.auxiliary_search_module_content_default_off_short` appears to be unused"/>

    <!-- Endnote: Please specify number of suppressions when adding more -->
  </issue>
  <issue id="VectorPath" severity="ignore"/>
  <!-- These constructors are useful for layout editors which we currently do not support. -->
  <issue id="ViewConstructor" severity="ignore"/>
  <issue id="WrongConstant">
    <!-- Discussed in crbug.com/1069204, ignoring this class of errors since these are Q+ constants. -->
    <ignore regexp="Must be one of: LineBreaker.BREAK_STRATEGY_SIMPLE, LineBreaker.BREAK_STRATEGY_HIGH_QUALITY, LineBreaker.BREAK_STRATEGY_BALANCED"/>
  </issue>
</lint>