How to Handel unexpected android native app pop ups or alerts in APPIUM-Selenium

I have a scenario where a popup is displayed in an android native app frequently at any screen in-app with Options Driving and Not Driving while execution. I would like to handle it in my Appium-Selenium/Java. I have tried autoAcceptAlert and autoDismissAlert capabilities, but it is not working for Android.
The alert popup may display at any time at any screen and in some case it will not display. Please Help me to solve the same.

Thanks,
Senti

Listeners could solve your issue but it will increase the execution time of the script.