Skip to content

Commit

Permalink
Update generated files for permissions inspections
Browse files Browse the repository at this point in the history
Manually update message text for RESERVED_SYSTEM_PERMISSION and
SYSTEM_PERMISSION_TYPO.

Bug: 232652234
Test: N/A
Change-Id: Ie7af80bfc6156494d6fed550f6b5d32e6865b0ac

GitOrigin-RevId: 990d1e1a5cce582c2f5125d2dd27b0ff9754a234
  • Loading branch information
matthewtgilbride authored and intellij-monorepo-bot committed Jun 2, 2022
1 parent 474f76a commit 1828e7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions android-lint/resources/messages/AndroidLintBundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ android.lint.inspections.remote.view.layout=Unsupported View in RemoteView
android.lint.inspections.required.size=Missing layout_width or layout_height attributes
android.lint.inspections.requires.feature=Requires Feature
android.lint.inspections.res.auto=Hardcoded Package in Namespace
android.lint.inspections.reserved.system.permission=Permission name is a reserved system permission
android.lint.inspections.reserved.system.permission=Permission name is a reserved Android permission
android.lint.inspections.resource.as.color=Should pass resolved color instead of resource id
android.lint.inspections.resource.cycle=Cycle in resource definitions
android.lint.inspections.resource.name=Resource with Wrong Prefix
Expand Down Expand Up @@ -295,7 +295,7 @@ android.lint.inspections.suspicious0dp=Suspicious 0dp dimension
android.lint.inspections.suspicious.import='import android.R' statement
android.lint.inspections.switch.int.def=Missing @IntDef in Switch
android.lint.inspections.synthetic.accessor=Synthetic Accessor
android.lint.inspections.system.permission.typo=Permission appears to be a system permission with a typo
android.lint.inspections.system.permission.typo=Permission appears to be a standard permission with a typo
android.lint.inspections.test.app.link=Unmatched URLs
android.lint.inspections.text.fields=Missing inputType
android.lint.inspections.text.view.edits=TextView should probably be an EditText instead
Expand Down
4 changes: 2 additions & 2 deletions android-lint/src/META-INF/android-lint-plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
<globalInspection hasStaticDescription="true" shortName="AndroidLintRequiredSize" displayName="Missing layout_width or layout_height attributes" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="ERROR" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintRequiredSizeInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintRequiresFeature" displayName="Requires Feature" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="WARNING" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintRequiresFeatureInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintResAuto" displayName="Hardcoded Package in Namespace" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="ERROR" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintResAutoInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintReservedSystemPermission" displayName="Permission name is a reserved system permission" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="ERROR" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintReservedSystemPermissionInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintReservedSystemPermission" displayName="Permission name is a reserved Android permission" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="ERROR" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintReservedSystemPermissionInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintResourceAsColor" displayName="Should pass resolved color instead of resource id" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="ERROR" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintResourceAsColorInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintResourceCycle" displayName="Cycle in resource definitions" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="ERROR" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintResourceCycleInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintResourceName" displayName="Resource with Wrong Prefix" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="ERROR" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintResourceNameInspection"/>
Expand Down Expand Up @@ -302,7 +302,7 @@
<globalInspection hasStaticDescription="true" shortName="AndroidLintSuspiciousImport" displayName="&apos;import android.R&apos; statement" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="WARNING" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintSuspiciousImportInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintSwitchIntDef" displayName="Missing @IntDef in Switch" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="WARNING" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintSwitchIntDefInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintSyntheticAccessor" displayName="Synthetic Accessor" bundle="messages.AndroidLintBundle" enabledByDefault="false" level="WARNING" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintSyntheticAccessorInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintSystemPermissionTypo" displayName="Permission appears to be a system permission with a typo" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="WARNING" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintSystemPermissionTypoInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintSystemPermissionTypo" displayName="Permission appears to be a standard permission with a typo" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="WARNING" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintSystemPermissionTypoInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintTestAppLink" displayName="Unmatched URLs" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="ERROR" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintTestAppLinkInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintTextFields" displayName="Missing inputType" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="WARNING" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintTextFieldsInspection"/>
<globalInspection hasStaticDescription="true" shortName="AndroidLintTextViewEdits" displayName="TextView should probably be an EditText instead" bundle="messages.AndroidLintBundle" enabledByDefault="true" level="WARNING" implementationClass="com.android.tools.idea.lint.inspections.AndroidLintTextViewEditsInspection"/>
Expand Down

0 comments on commit 1828e7c

Please sign in to comment.