Some methods have been introduced later. Right now lint doesn't warn for such calls. It warns for AppCompatActivity but not for CompositeActivity. I.e. Activity#isDestroyedI()
The @RequiresApi annotation could be added for such methods. It could be generated by the platform-tools/api/api-versions.xml which is used for lint warnings.
Some methods have been introduced later. Right now lint doesn't warn for such calls. It warns for
AppCompatActivitybut not forCompositeActivity. I.e.Activity#isDestroyedI()The
@RequiresApiannotation could be added for such methods. It could be generated by theplatform-tools/api/api-versions.xmlwhich is used for lint warnings.