I have a USB Host Mode application that works perfectly. I plug in the device, Android pops up the Allow the app APPNAME to access the USB device? permission r
The Android just cannot remember my grant for my device But fortunately, I figured out the reason: I used hex values in the device_filter.xml. After I changed it to decimal values, everything just works fine. My Android can remember my permit then.