• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Kill an active task?

Although if the context is an event, you cannot add an exit task (because an event lasts a split second so it would exit after that split second) - so the option doesn't appear. Maybe this is not all events but certainly the ones I've tested.

Usually the exit tasks work better on states.

So if you had a profile...

context > Event > Docked
Task > "Car Mode"

This would need to be changed to

context > state > Docked
Task > "car mode"
Exit Task > "Kill App"

...so at the instant the state Docked ceases to be true, the profile exits, running teh exit task.
 
  • Like
Reactions: bberryhill0
Upvote 0
Sure.

New Task > Task > Stop > then browse the task you want it to stop.

Will this stop the task if it was currently 'waiting'....what I ended up doing to accomplish this was to add many small 'Waits' with a 'Stop-If' in-between each, instead of one long 'Wait'. If I could stop a 'Wait' task while its running, with another task, then I did a lot of unnecessary copy and pasting lol.

EDIT: I checked it out and this will not work because the 'Stop' command only works on the current task...there is nowhere to browse the task you want it to stop, from what I see.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones