gehee / FPVue_android

WFB-ng android client, running rtl8812au driver in userspace, and a low latency videodecoder.
GNU General Public License v3.0
70 stars 21 forks source link

Request permission for USB Access #1

Closed Epictek closed 5 months ago

Epictek commented 5 months ago

Was having issues connecting to my adapter, seems like a permission intent was missing.

Listening to the intent seems to not be required because onResume gets called after accepting/rejecting the dialog. if StartWfbNg were to be moved out of OnResume it would be a good idea to then listen to the intent via a BroadcastReceiver

gehee commented 5 months ago

So sorry, I just saw this pull request now. I did a bunch of fixes together. Let me know if you still want to merge this after. I believe the usb permission should be fixed on main already.