Figured this one out. 

A connectivity change intent was causing other apps and system services 
(notably maps) to increase system load dramatically. One of my own 
responses to a connectivity change was to cancel/set several alarms.

Seems that when a device is under high load, alarm manager set/cancel calls 
can take around half a second so the chances were that when the ANR 
occurred it would be there i.e. the ANRs weren't caused by AlarmManager 
code hanging but by it taking so long.

Pent

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to