[Android General] donaldta:
:good: Congrats.

I thought about something is this the SirusMX Lynx you're talking about? I suspect that you're using the vehicle kit which may be redirecting the signal to the antenna. If that is the case and the Lynx is being turned off before the Asteroid screen turns off, then I'm afraid the Tasker profile won't offer any better comfort. From my experience, the Smart's radio output turns off at the same time as the display. At least if you're using the audio output to an external amp. Not sure if it is the same with Smart's built-in speaker output.

Perhaps it would be better connecting the Lynx using either the 3.5 jack or Bluetooth to the Asteroid Smart, if Tasker doesn't work in your case.

I/ActivityManager( 1297): Force stopping package com.parrot.audioservice uid=10016
I/ActivityManager( 1297): Start proc com.parrot.audioservice for added application com.parrot.audioservice: pid=6554 uid=10016 gids={3002, 3003}
D/AndroidRuntime( 6539): Shutting down VM
D/HomeLoaders( 1438): syncPackage() packageName=com.parrot.audioservice
D/HomeLoaders( 1438): syncLocked() packageName=com.parrot.audioservice
D/dalvikvm( 6539): GC_CONCURRENT freed 104K, 68% free 329K/1024K, external 0K/0K, paused 1ms+0ms
I/AndroidRuntime( 6539): NOTE: attach of thread 'Binder Thread #3' failed
D/SystemBroadcastService( 1819): Received broadcast action=android.intent.action.PACKAGE_CHANGED and uri=

To me it looks like it is working. A couple of questions. Does a window stating "Tasker has been granted supersure permission for an interactive shell" when you execute the task? Also, what does dumpsys say after your execute the disable/enable task(s)?

Here's what happens for me (btw, I enabled "Enable External Access" in Tasker's Preference > Misc menu to allow starting tasks from the command line).

Disable:

# [B][COLOR="RoyalBlue"]logcat -c; am broadcast -a net.dinglisch.android.tasker.ACTION_TASK -e task_name "Disable AudioService"[/COLOR][/B]
Broadcasting: Intent { act=net.dinglisch.android.tasker.ACTION_TASK (has extras) }
Broadcast completed: result=0
# [B][COLOR="RoyalBlue"]logcat -d[/COLOR][/B]
--------- beginning of /dev/log/main
D/AndroidRuntime( 6757):
D/AndroidRuntime( 6757): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 6757): CheckJNI is OFF
D/dalvikvm( 6757): creating instr width table
D/AndroidRuntime( 6757): Calling main entry com.android.commands.am.Am
D/AndroidRuntime( 6757): Shutting down VM
D/dalvikvm( 6757): GC_CONCURRENT freed 103K, 68% free 328K/1024K, external 0K/0K, paused 1ms+1ms
D/dalvikvm( 6757): Debugger has detached; object registry had 1 entries
I/AndroidRuntime( 6757): NOTE: attach of thread 'Binder Thread #3' failed
D/AndroidRuntime( 6772):
D/AndroidRuntime( 6772): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 6772): CheckJNI is OFF
D/AndroidRuntime( 6771):
D/AndroidRuntime( 6771): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 6771): CheckJNI is OFF
D/dalvikvm( 6771): creating instr width table
D/dalvikvm( 6772): creating instr width table
D/dalvikvm( 6772): DexOpt: sleeping on flock(/data/dalvik-cache/system@framework@bouncycastle.jar@classes.dex)
D/AndroidRuntime( 6772): Calling main entry com.android.commands.am.Am
D/AndroidRuntime( 6771): Calling main entry com.android.commands.pm.Pm
I/Process ( 1297): Sending signal. PID: 6717 SIG: 9
--------- beginning of /dev/log/system
[COLOR="Red"]I/ActivityManager( 1297): Force stopping package com.parrot.audioservice uid=10016
I/ActivityManager( 1297): Start proc com.parrot.audioservice for added application com.parrot.audioservice: pid=6787 uid=10016 gids={3002, 3003}
D/HomeLoaders( 1438): syncPackage() packageName=com.parrot.audioservice
D/HomeLoaders( 1438): syncLocked() packageName=com.parrot.audioservice
[/COLOR]D/AndroidRuntime( 6772): Shutting down VM
D/dalvikvm( 1297): GC_EXPLICIT freed 1774K, 46% free 7262K/13447K, external 3574K/4463K, paused 120ms
[COLOR="Red"]D/SystemBroadcastService( 1819): Received broadcast action=android.intent.action.PACKAGE_CHANGED and uri=[/COLOR]
D/AndroidRuntime( 6771): Shutting down VM
D/dalvikvm( 6771): GC_CONCURRENT freed 101K, 72% free 294K/1024K, external 0K/0K, paused 10ms+0ms
D/dalvikvm( 6772): GC_CONCURRENT freed 104K, 68% free 329K/1024K, external 0K/0K, paused 1ms+0ms
D/jdwp ( 6772): adbd disconnected
D/jdwp ( 6771): adbd disconnected
D/jdwp ( 6771): Got wake-up signal, bailing out of select
D/dalvikvm( 6771): Debugger has detached; object registry had 1 entries
D/jdwp ( 6772): Got wake-up signal, bailing out of select
D/dalvikvm( 6772): Debugger has detached; object registry had 1 entries
# [B][COLOR="RoyalBlue"]dumpsys package com.parrot.audioservice | grep -i enabled[/COLOR][/B]
pkgFlags=0x1 installStatus=1 [COLOR="Red"]enabled=2[/COLOR]
#

Enable:

# [B][COLOR="RoyalBlue"]logcat -c; am broadcast -a net.dinglisch.android.tasker.ACTION_TASK -e task_name "Enable AudioService"[/COLOR][/B]
Broadcasting: Intent { act=net.dinglisch.android.tasker.ACTION_TASK (has extras) }
Broadcast completed: result=0
# [B][COLOR="RoyalBlue"]logcat -d[/COLOR][/B]
--------- beginning of /dev/log/main
D/AndroidRuntime( 6855):
D/AndroidRuntime( 6855): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 6855): CheckJNI is OFF
D/dalvikvm( 6855): creating instr width table
D/AndroidRuntime( 6855): Calling main entry com.android.commands.am.Am
D/AndroidRuntime( 6855): Shutting down VM
D/dalvikvm( 6855): GC_CONCURRENT freed 103K, 68% free 328K/1024K, external 0K/0K, paused 0ms+1ms
I/AndroidRuntime( 6855): NOTE: attach of thread 'Binder Thread #3' failed
D/jdwp ( 6855): Got wake-up signal, bailing out of select
D/dalvikvm( 6855): Debugger has detached; object registry had 1 entries
D/AndroidRuntime( 6873):
D/AndroidRuntime( 6873): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 6873): CheckJNI is OFF
D/dalvikvm( 6873): creating instr width table
D/AndroidRuntime( 6872):
D/AndroidRuntime( 6872): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 6872): CheckJNI is OFF
D/dalvikvm( 6872): creating instr width table
D/AndroidRuntime( 6873): Calling main entry com.android.commands.pm.Pm
D/AndroidRuntime( 6872): Calling main entry com.android.commands.am.Am
I/Process ( 1297): Sending signal. PID: 6787 SIG: 9
--------- beginning of /dev/log/system
[COLOR="Red"]I/ActivityManager( 1297): Force stopping package com.parrot.audioservice uid=10016
I/ActivityManager( 1297): Start proc com.parrot.audioservice for added application com.parrot.audioservice: pid=6890 uid=10016 gids={3002, 3003}
D/HomeLoaders( 1438): syncPackage() packageName=com.parrot.audioservice
D/HomeLoaders( 1438): syncLocked() packageName=com.parrot.audioservice
D/SystemBroadcastService( 1819): Received broadcast action=android.intent.action.PACKAGE_CHANGED and uri=
[/COLOR]D/AndroidRuntime( 6872): Shutting down VM
D/AndroidRuntime( 6873): Shutting down VM
D/dalvikvm( 6872): GC_CONCURRENT freed 104K, 68% free 329K/1024K, external 0K/0K, paused 33ms+1ms
I/AndroidRuntime( 6873): NOTE: attach of thread 'Binder Thread #3' failed
D/dalvikvm( 6873): GC_CONCURRENT freed 101K, 72% free 295K/1024K, external 0K/0K, paused 0ms+0ms
D/jdwp ( 6872): adbd disconnected
D/jdwp ( 6873): adbd disconnected
D/jdwp ( 6873): Got wake-up signal, bailing out of select
D/jdwp ( 6872): Got wake-up signal, bailing out of select
D/dalvikvm( 6872): Debugger has detached; object registry had 1 entries
D/dalvikvm( 6873): Debugger has detached; object registry had 1 entries
D/dalvikvm( 6019): GC_EXPLICIT freed 48K, 54% free 3043K/6535K, external 1618K/2130K, paused 32ms
# [B][COLOR="RoyalBlue"]dumpsys package com.parrot.audioservice | grep -i enabled[/COLOR][/B]
pkgFlags=0x1 installStatus=1 [COLOR="Red"]enabled=1[/COLOR]
#

I attached a copy of my profiles/tasks in case you want to try it.