When enabling or disabling a provider in settings; it seems to trigger
a disable event for all providers, then an enable event for any
providers that are still checked. Is this the intended behavior? For
example, if network and gps are enabled, and I disable network - I get
this:

12-20 22:12:42.723: DEBUG/GPSgoTo(673): Provider disabled: gps
12-20 22:12:44.273: DEBUG/GPSgoTo(673): Provider disabled: network
12-20 22:12:44.533: DEBUG/GPSgoTo(673): Provider enabled: gps
12-20 22:12:49.563: DEBUG/GPSgoTo(673): Best Provider: gps

I use a message handler to delay figuring out what provider to use for
5 seconds so my app doesn't hang up with all the changes... but
shouldn't this just trigger a single onProviderDisabled("network")?

Does anyone else experience this problem?

--~--~---------~--~----~------------~-------~--~----~
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