Fixed
Status Update
Comments
uc...@google.com <uc...@google.com> #2
Reproduced in
Android Studio 3.2 Beta 2
Build #AI-181.5281.24.32.4860949, built on June 25, 2018
JRE: 1.8.0_152-release-1136-b04 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.9.0-6-amd64
Android Studio 3.2 Beta 2
Build #AI-181.5281.24.32.4860949, built on June 25, 2018
JRE: 1.8.0_152-release-1136-b04 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.9.0-6-amd64
tn...@google.com <tn...@google.com> #3
Fixed by Change-Id: Ib306e2614f407aed1a640ad45174b65efbfdfcdd for Studio 4.2. Sorry about the delay! Note that this was just a bug in the code which generates the list of disabled checks, not in the logic to enable the check; the check itself was enabled and any errors it found would have been included in the report.
Description
lintOptions {
enable 'LogConditional'
}
Run Lint, check HTML report. Should still see "LogConditional" in "Disabled Checks"
Other disabled checks such as "UnusedIds" do work correctly with the enable option. The only way to actually enable "LogConditional" is using "checkAllWarnings".
Tested with plugin 3.0.1 and 3.1.2. Related issue with 3.1.2: