Persisting USB permission after reboot without replugging device
The solution is to use intent filters and add the android:directBootAware="true"
attribute on the associated activity so that the USB_DEVICE_ATTACHED
event is correctly received after boot.