Bug 1284544 - lint: don't error on "OldTargetSdk", we don't want to upgrade the sdk yet r?mcomella
MozReview-Commit-ID: 7PGejjpmNWh
--- a/mobile/android/app/lint.xml
+++ b/mobile/android/app/lint.xml
@@ -10,16 +10,21 @@
`android:debuggable` when building with mach so it's
not actually hard-coded. We can probably remove this
warning when we switch to gradle. -->
<issue id="HardcodedDebugMode" severity="ignore" />
<!-- We have our own l10n system & don't use the platform's plurals. -->
<issue id="PluralsCandidate" severity="ignore" />
+ <!-- We don't want to have to follow the SDK release schedule: we can keep
+ the warning in order to not forget that there's a new SDK, but there's
+ no need to break on update. -->
+ <issue id="OldTargetApi" severity="warning" />
+
<!-- We want all lint warnings to be fatal errors.
Right now, we set these to lint warnings so:
DO NOT ADD TO THIS LIST.
We did this so we can land lint in automation
and not fail everything. -->
<issue id="AppCompatResource" severity="warning" />
@@ -131,17 +136,16 @@
<issue id="MissingVersion" severity="error" />
<issue id="MockLocation" severity="error" />
<issue id="MultipleUsesSdk" severity="error" />
<issue id="NamespaceTypo" severity="error" />
<issue id="NestedScrolling" severity="error" />
<issue id="NfcTechWhitespace" severity="error" />
<issue id="NotSibling" severity="error" />
<issue id="ObsoleteLayoutParam" severity="error" />
- <issue id="OldTargetApi" severity="error" />
<issue id="OnClick" severity="error" />
<issue id="Orientation" severity="error" />
<issue id="Override" severity="error" />
<issue id="OverrideAbstract" severity="error" />
<issue id="PackagedPrivateKey" severity="error" />
<issue id="ParcelCreator" severity="error" />
<issue id="Performance" severity="error" />
<issue id="Proguard" severity="error" />