Fix for wheel controls after volume change#26
Fix for wheel controls after volume change#26Pontifice wants to merge 5 commits intoMaKi983:mainfrom
Conversation
|
Screen volume buttons still break wheel next/prev buttons |
Hi @Pontifice, ty for your contribution but I can't manage to build the app myself with your PR, can you link a .apk with the fix please ? |
Add Reregister when touching the screen
|
There are a lot of actions that makes the wheel buttons to stop working (like the menu button on the wheel). I added a "reregister wheel button" when the screen is touched, so if you lost the abilitiy to use next/prev buttons you can regain it by touching the screen. Anyway after testing a lot, using preinstall, pairing the phone with the car and changing the source to BT is a better option. Maybe adding an option int the app to not get focus for media audio is a futureproof solution. |
How to build Generate apk or gradlew.bat in windows |
|
Hi @Pontifice, thanks for your effort. I’ll take a look over the next few days. |
|
Yes, re-registering on every touch is overkill, an ugly hack, but at the moment useful. i had been testing/debugging the wheel controls (not in this pull request), the menu button on the screen and the end call in the wheel are usable, the "make call" and "source" even if you capture the event in the app are managed by the head unit I have another car with an external android auto screen, i am using it with the car bluetooth , the external screen does not manage the audio. maybe is a better option in our case and allows for voice controls |
|
I'm releasing just know a new version with a fix on sw buttons. I'm trying a different approach: I saw that, every time I change the volume, a callback method on steering wheel service is called. I simply unbind/bind the service in this method. Maybe give it a try just to check if it works in every case |
|
Fix for wheel controls after volume change