kai-morich / SimpleUsbTerminal

Android terminal app for devices with a serial / UART interface connected with a USB-to-serial-converter
MIT License
523 stars 193 forks source link

permission handling on device connection #21

Closed Gobink6 closed 4 years ago

Gobink6 commented 4 years ago

If the phone is rebooted, but the cable remains plugged in, and then the app is opened, the pop up will come back. If the USB cable is unplugged, upon replugging the pop up does not come back. However, if the app is closed, but the cable remains plugged in, and then the app is reopened, the pop up does not come back.

kai-morich commented 4 years ago

Android caches the permission. do you have connection issues?

Gobink6 commented 4 years ago

I did not have a connection issue, the first time I gave a USB permission, every time I reboot the device the cable remains plugged in the device and then the app is opened, the USB permission pop up will come back, If I unplugged USB cable and replugged the USB permission pop up does not come back.

kai-morich commented 4 years ago

the app cannot influence how Android caches the permission