We have written an android application that communicates with a piece of custom hardware over USB. Prior to Android 7.0 Nougat when we plugged in the usb the app would lauch automatically and establish a ptp connection between the two devices. Now in Android 7.0 the app no longer launches automatically. Instead a USB symbol appears in the upper left corner. Pulling down the notifications window shows a notification that reads as follows:
"Android System Connected to USB Function Filesystem Tap to view files" How can we avoid having this permissions notification pop up before starting our app? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/163de8a2-3425-415a-a083-ca7ef7732e7b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

