Sorry, I've got the reason... I had a timing problem with the
HEADSET_PLUG Intent, which is sent when registered, and in my case
caused a stopSelf() because the service "thought" it wasn't required
(bad value in internal status flag). The strange behaviour then
happened, because the service right afterwards was restarted with
bindService(..., BIND_AUTO_CREATE). And if the service wasn't already
running on bindService, unbindService will stop it...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to