I have a base activity from which I subclass several other activities.
Those other activities I do register in the manifest so I can use them from within my application.
However, Android inspection says, for my base activity, "Activity not registered in the manifest"
.
I see no reason to register the base activity as I never use it directly. However, maybe, I am missing something and the warning should not be ignored?
Why this warning anyway?
You'll only need to list activities that are entry points to your app in the manifest. That is, activities that are invoked with an Intent
.
You should not have activities that are in fact not instantiable entry points. Make such activity classes abstract
. This will also get rid of the lint warning.