My most important and beloved Tasker profile/task is very simple. It keeps my car from automatically starting music when I get in.
Profile activates when my phone connections to "SYNC". This part still works, I see the profile activate instantly.
The task is "Media Button Events" > Action: Grab
That part is no longer working after the update to Android 7 on my Nexus 6P. It had been working fine on Android 6/6.0.1. Media button events now pass through uninhibited as if Tasker were not there.
I made sure Tasker wasn't getting killed off or anything and kept it going in the foreground. I see in the notification shade that that profile has activated. It's just not grabbing those media button events.
With the new beta, I cannot get media button grab to work with or without the hoop jumping that worked in 4.8. Running 7.1.1.
If I revert back to the release version, media button grab still works with the hoop jumping.
Thanks!
Hey there! Is this new implementation in the current (4.9b6m)?
With the new beta, I cannot get media button grab to work with or without the hoop jumping that worked in 4.8. Running 7.1.1.
I also can't get it working again, I'm a bit stumped,
I spent quite a while on it a few weeks ago and had it working well.
Think I'll give up for now and try again tomorrow :-(
Spent hours more on this and still can't get back to where I was before,
have to give up.
It seems to work fine for me on 7 if I show a dialog scene over the top though, same
as your original workaround, or if the app which currently is intercepting the
buttons is not foreground.
Profile: Connected To Car (2)
State: BT Connected [ Name:HandsFreeLink Address:* ]
Enter: Anon (3)
A1: Popup [ Title: Text:Wake Background Image: Layout:Popup Timeout (Seconds):1 Show Over Keyguard:On ] If [ %SCREEN ~ off ]
A2: Media Button Events [ Action:Grab Use New API:On ]
Profile: Play In Car (14)
State: Media Button [ Button:Play Held Down:Off Grab:Off Stop Event:Off ]
State: BT Connected [ Name:HandsFreeLink Address:* ]
Enter: Anon (19)
A1: Media Button Events [ Action:Grab Use New API:On ]
Hello, Just wanted to ask if there have been any updates to this. I too am trying to keep audio for automatically playing when Bluetooth is connected to my car.This is generally what I have. It worked perfect the first time, but hasnt worked since.