Bug 1252557 - Add ignore for HardcodedDebugMode. r=nalexander draft
authorMichael Comella <michael.l.comella@gmail.com>
Tue, 01 Mar 2016 10:40:19 -0800
changeset 335850 b6db0f3a678a3311fcd26fd678a73e328f179414
parent 335743 aefae03959a33e8e5761e448e7ff6aad0610402e
child 335851 d556e26607e6ad6c9d005f2d67e2d4b689cb9695
push id11894
push usermichael.l.comella@gmail.com
push dateTue, 01 Mar 2016 19:10:40 +0000
reviewersnalexander
bugs1252557
milestone47.0a1
Bug 1252557 - Add ignore for HardcodedDebugMode. r=nalexander MozReview-Commit-ID: JxPAavBCqN1
mobile/android/app/lint.xml
--- a/mobile/android/app/lint.xml
+++ b/mobile/android/app/lint.xml
@@ -1,16 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <lint>
     <!-- Enable relevant checks disabled by default -->
     <issue id="NegativeMargin" severity="warning" />
 
     <!-- We have a custom menu and don't conform to the recommended styles. -->
     <issue id="IconColors" severity="ignore" />
 
+    <!-- We use our own preprocessing to either add or remove
+         `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 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" />