Bug 1284544 - lint: don't error on "OldTargetSdk", we don't want to upgrade the sdk yet r?mcomella draft
authorAndrzej Hunt <ahunt@mozilla.com>
Tue, 05 Jul 2016 09:04:43 -0700
changeset 384131 d57914dde1953670a48d5e1d024fab2581816119
parent 384130 55e7347982396d56cecfe347c3f2d73562716216
child 384132 0d298d5f1245286f5946d544422b87e6a51c04ed
push id22173
push userahunt@mozilla.com
push dateTue, 05 Jul 2016 16:19:42 +0000
reviewersmcomella
bugs1284544
milestone50.0a1
Bug 1284544 - lint: don't error on "OldTargetSdk", we don't want to upgrade the sdk yet r?mcomella MozReview-Commit-ID: 7PGejjpmNWh
mobile/android/app/lint.xml
--- 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" />