Get Location v2 suspends all other tasks
Hey,
I noticed an issue with the "Get Location v2" action. It seems that the action suspends all other actions/tasks when the location update is running.
When I stop my car and the bluetooth connection to my mobile phone gets inactive, the variable %BluetoothConnection is set to "None", which triggers two pofiles to do an location update (Location Update@Out of Car) and check the audio profile settings (Check Audio Profile@Bluetooth).
According to the Tasker log (see below) both profiles are triggered and also both tasks (Force Location Update & Set Audio Profile) are started. But when the Get Location action runs, all other actions seems to be suspended.
You can see the 11 seconds delay between 00.41.01 and 00.41.12.
It happens since I've an Pixel 6. Worked fine for years with my Pixel 3 on Android 11.
20211121 00.03.46 E Stop ID0:0.0 TaskService
20211121 00.41.01 P Inactive ID83 Bluetooth Connection@Car
20211121 00.41.01 E Start ID0:0.0 TaskService
20211121 00.41.01 T Running ID85 Var BluetoothConnection=None
20211121 00.41.01 A OK ID85.1 Var BluetoothConnection=None.Var Set, %BluetoothConnection=None
20211121 00.41.01 T ExitOK ID85 Var BluetoothConnection=None
20211121 00.41.01 E Stop ID0:0.0 TaskService
20211121 00.41.01 P Inactive ID46 Location Update@Out of Car
20211121 00.41.01 E Start ID0:0.0 TaskService
20211121 00.41.01 T Running ID12 Force Location Update
20211121 00.41.01 A OK ID12.1 Force Location Update.Force location update to get location immediatly
20211121 00.41.01 P Instant ID138 Check Audio Profile@Bluetooth
20211121 00.41.01 T Running ID125:2 Set Audio Profile
20211121 00.41.01 A OK ID12.2 Force Location Update.
20211121 00.41.01 A OK ID12.3 Force Location Update.Get Location v2
20211121 00.41.12 A OK ID12.4 Force Location Update.If task started by Bluetooth Connection@Car profile, save coordinates of parking place.
20211121 00.41.12 A OK ID125:2.1 Set Audio Profile.Audio profile "Car"
20211121 00.41.12 A OK ID125:2.3 Set Audio Profile.Audio profile "Headset"
20211121 00.41.12 A OK ID125:2.5 Set Audio Profile.Audio profile "Appointment"
20211121 00.41.12 A OK ID125:2.7 Set Audio Profile.Audio profile "Work"
20211121 00.41.12 A OK ID125:2.9 Set Audio Profile.Audio profile "Vibrate"
20211121 00.41.12 A OK ID125:2.11 Set Audio Profile.Audio profile "Night"
20211121 00.41.12 A OK ID125:2.13 Set Audio Profile.Last exit
20211121 00.41.12 T Running ID10:3 Audio Profile "Default"
20211121 00.41.12 A OK ID125:2.14 Set Audio Profile.Perform Task, Audio Profile "Default"
20211121 00.41.12 A OK ID10:3.1 Audio Profile "Default".Notify Cancel
20211121 00.41.12 A OK ID10:3.2 Audio Profile "Default".Media Volume
20211121 00.41.12 A OK ID10:3.3 Audio Profile "Default".In-Call Volume
20211121 00.41.12 A OK ID10:3.4 Audio Profile "Default".System Volume
20211121 00.41.12 A OK ID10:3.5 Audio Profile "Default".Alarm Volume
20211121 00.41.13 A OK ID10:3.6 Audio Profile "Default".Vibrate On Ringer
20211121 00.41.13 A OK ID10:3.7 Audio Profile "Default".DnD Disable only when activated by Tasker before.
20211121 00.41.13 A OK ID10:3.8 Audio Profile "Default".Do Not Disturb
20211121 00.41.13 A OK ID10:3.9 Audio Profile "Default".Var Set, %DnD=False
20211121 00.41.13 A OK ID10:3.10 Audio Profile "Default".End If
20211121 00.41.13 A OK ID10:3.11 Audio Profile "Default".Var Set, %Audioprofil=Default
20211121 00.41.13 T ExitOK ID10:3 Audio Profile "Default"
Thank you.
Jas Man