MoleMan1024 / audiowagon

AudioWagon will play audio files from an attached USB flash drive in cars equipped with Android Automotive OS
https://moleman1024.github.io/audiowagon/
GNU General Public License v3.0
59 stars 18 forks source link

Permission popup does not show when switching to reverse camera during startup #76

Closed MoleMan1024 closed 2 years ago

MoleMan1024 commented 2 years ago

Describe the issue Received via e-mail: when switching to reversing camera during startup of infotainment the AudioWagon permission popup does not appear.

To Reproduce

Expected behavior

AudioWagon version 2.1.1

Car version P2.2

Logfiles

2022-07-19 15:24:45.818 [DEBUG   ][21561][USBDevPerm          ] USB device permission updated to DENIED for: class de.moleman1024.audiowagon.filestorage.usb.USBMediaDevice{Verbatim STORE N GO(6309;579;/dev/bus/usb/001/105;-1045548105)}
MoleMan1024 commented 2 years ago

This might have to do with legal reason where Polestar/Volvo want to avoid showing a popup in front of the camera screen, I think this is forbidden in some countries. But then again their own popup blocks the camera also...

Anyway based on logfile I can see the first permission popup request is denied automatically (I did not see a popup window). I can't avoid that but maybe I can re-send the request later?

micksmothers commented 2 years ago

I can verify this happens as well. I have to remove and reinsert the USB stick to get the prompts back again (workaround). I suppose I could probably force kill AudioWagon and restart it to get the same outcome. Better yet, I just dismiss both prompts before I engage reverse. Anyway, just a confirmation of the behavior.

MoleMan1024 commented 2 years ago

In version 2.2.1 you can re-trigger the permission popup by entering the AudioWagon settings.