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
I ran lint on a test project and got some API errors. It turns out that the code is properly checking for the SDK_INT level, but it stores this in an intermediate local variable.
Lint looks for SDK_INTs stored in fields and checked by utility methods, but not intermediate local variables.
Example: the "dynamicColor" variable inhttps://github.com/code-with-the-italians/bundel/blob/main/app/src/main/java/dev/sebastiano/bundel/ui/Theme.kt#L23