Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
The
UnusedResourcesProcessor
for removing unused resources from the project might be informed (from Lint) that there is an issue related to a Gradle build file.If that Gradle build file is in a directory whose name is equal to one of the
ResourceFolderType
names, or which begins with one of those names followed by a hyphen, theUnusedResourcesProcessor
will delete the Gradle build file rather than removing the appropriateresValues
entry. (This is becausegetFolderType()
will somewhat spuriously return aResourceFolderType
rather thannull
).