commit 9ea517fe26aefb8cce09bd06bac0a2a0ec6c729a
parent 6dca39456e07ac627814a972bdffc6e6d8b77e23
Author: Eemeli Aro <eemeli@gmail.com>
Date: Fri, 5 Dec 2025 05:53:50 +0000
Bug 2003115 - Ignore MissingDefaultResource Android lint error r=android-reviewers,nalexander
The `<plurals>` introduced in bug 1996930 should logically be included in the already-ignored dedicated ExtraTranslation linter rule, but they are not.
Differential Revision: https://phabricator.services.mozilla.com/D274592
Diffstat:
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/mobile/android/android-components/common-config.gradle b/mobile/android/android-components/common-config.gradle
@@ -21,6 +21,7 @@ android {
// With our L10N process its totally possible to have missing or (temporarily) extra translations.
disable 'MissingTranslation',
'ExtraTranslation',
+ 'MissingDefaultResource',
// We do not want to enforce this as a generic rule for all languages (see #6117, #6056, #6118)
'TypographyEllipsis',
// https://github.com/mozilla-mobile/android-components/issues/10641
diff --git a/mobile/android/fenix/app/lint.xml b/mobile/android/fenix/app/lint.xml
@@ -16,6 +16,7 @@
<issue id="StringFormatCount" severity="ignore" />
<issue id="TypographyEllipsis" severity="ignore" />
<issue id="ExtraTranslation" severity="ignore" />
+ <issue id="MissingDefaultResource" severity="ignore" />
<issue id="BrandUsage" severity="error">
<ignore path="**/values-*/strings.xml" />
<ignore path="**/values-*/*_strings.xml" />
diff --git a/mobile/android/focus-android/app/lint.xml b/mobile/android/focus-android/app/lint.xml
@@ -11,6 +11,7 @@
<issue id="StringFormatCount" severity="ignore" />
<issue id="TypographyEllipsis" severity="ignore" />
<issue id="ExtraTranslation" severity="warning" />
+ <issue id="MissingDefaultResource" severity="ignore" />
<issue id="BlankString" severity="error">
<ignore path="**/values/preference_keys.xml" />
</issue>