I want to prevent application activity from starting through ADB shell using below command.
am start -n com.xyz.namespace/com.xyz.namespace.AbcActivity
I have tried with setting android:exported = false and setting custom permissions in AndroidManifest file, both solutions doesn't works for me.
Is there any other way to prevent activity start through ADB Shell?