When accessibility service receives the command to switch to another application, we should process the command and trigger the intent to activate the application. This will probably mean mostly activating the main/launch activity of the application.
Should handle errors if any when triggering the activity due to wrong package name, non launch-able application etc.
When accessibility service receives the command to switch to another application, we should process the command and trigger the intent to activate the application. This will probably mean mostly activating the main/launch activity of the application. Should handle errors if any when triggering the activity due to wrong package name, non launch-able application etc.