I am working on an android app which has a default launcher activity whenever the user launches the app.
But the user will have the option to enable password in settings and if the user enables password I want show password activity as the launcher activity instead.
How can I achieve this at runtime?