Bug 1476165 - Part 1d: Ignore ProtectedPermissions in Android Lint. r=nalexander draft
authorTudor-Gabriel Vîjială <tvijiala@mozilla.com>
Sun, 22 Jul 2018 16:22:49 +0100
changeset 821548 efc01cb3647b
parent 821547 c504c04c8425
child 821549 8505767e4af5
push id117129
push userbmo:tvijiala@mozilla.com
push dateMon, 23 Jul 2018 16:06:46 +0000
reviewersnalexander
bugs1476165
milestone63.0a1
Bug 1476165 - Part 1d: Ignore ProtectedPermissions in Android Lint. r=nalexander MozReview-Commit-ID: KVb54Fu27Qb
mobile/android/app/lint.xml
--- a/mobile/android/app/lint.xml
+++ b/mobile/android/app/lint.xml
@@ -29,16 +29,17 @@
          and not fail everything. -->
     <issue id="AppCompatResource" severity="warning" />
     <issue id="GoogleAppIndexingDeepLinkError" severity="warning" />
     <issue id="GoogleAppIndexingUrlError" severity="warning" />
     <issue id="Instantiatable" severity="warning" />
     <issue id="LongLogTag" severity="warning" />
     <issue id="MissingPermission" severity="warning" />
     <issue id="OnClick" severity="warning" />
+    <issue id="ProtectedPermissions" severity="warning" />
     <issue id="ReferenceType" severity="warning" />
     <issue id="ResourceAsColor" severity="warning" />
     <issue id="ResourceType" severity="warning" />
     <issue id="ValidFragment" severity="warning" />
 
     <!-- New Android-Gradle lint integration regressed this check. -->
     <issue id="MissingRegistered" severity="warning" />
 
@@ -190,17 +191,16 @@
     <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" />
     <issue id="ProguardSplit" severity="error" />
     <issue id="PropertyEscape" severity="error" />
-    <issue id="ProtectedPermissions" severity="error" />
     <issue id="PxUsage" severity="error" />
     <issue id="Range" severity="error" />
     <issue id="RelativeOverlap" severity="error" />
     <issue id="RequiredSize" severity="error" />
     <issue id="ResAuto" severity="error" />
     <issue id="ResourceCycle" severity="error" />
     <issue id="ResourceName" severity="error" />
     <issue id="ResourceType" severity="error" />