3 messages in com.googlegroups.android-developersRe: Persistence of handlers registere...
FromSent OnAttachments
will...@gmail.com30 Mar 2008 02:51 
hackbod30 Mar 2008 20:16 
will...@gmail.com30 Mar 2008 20:36 
Subject:Re: Persistence of handlers registered with Context.registerReceiver
From:will...@gmail.com (will@gmail.com)
Date:03/30/2008 08:36:03 PM
List:com.googlegroups.android-developers

Thanks for pointing this out. Then again, how persistent is this override? Will this get reset when the onDestroy of the Activity/ Service gets called?

On 31 Mar, 11:17, hackbod <hack@gmail.com> wrote:

You are right, though, that we don't want to have a bunch of applications launched even when they are not interested in some particular data.  To this end, you can use the PackageManager.setComponentEnabledSetting() method to disable your IntentReceiver component when it is not needed:

http://code.google.com/android/reference/android/content/pm/PackageMa...)