When I plug in a USB device, my application automatically starts (permissions are granted and remembered). How do I prevent this from happening?
Ideally, an application should start but remain in the background, with activity only visible when a user presses an icon.
However, I want all the permissions granted to be remembered to prevent the USB permission request dialog from appearing.
Ideally, an application should start but remain in the background, with activity only visible when a user presses an icon.
However, I want all the permissions granted to be remembered to prevent the USB permission request dialog from appearing.
Last edited: