Lint bug fixes
This CL contains a number of unrelated lint bug fixes:
* Fix API detector such that it warns about ?android:name attrs
* Fix API detector for inlined constants such that it's more rigorous
in how it determines whether a constant is used in a valid (if
conditional or case value) context
* Fix 43070: Analytics resources should not be flagged as needing
translations
* Fix 42994: Android lint should not complain about 'Custom view is
missing constructor used by tools' for classes that are declared
abstract
* Finally, pass in the right node context for a few places it was
missing it (when missing, adding suppress annotations only works
on the root class AST node)
Change-Id: I044140c865dbd3d0e964dae7f13c66eeb450509e
15 files changed