my Android application generates this warning:
06-30 14:43:17.863:
WARN/ActivityManager(590): Timeout of
broadcast BroadcastRecord{437385d8
android.intent.action.TIME_TICK} –
receiver=android.app.ActivityThread$PackageInfo$ReceiverDispatcher$InnerReceiver@436d0960
06-30 14:43:18.664:
WARN/ActivityManager(590): Receiver
during timeout:
BroadcastFilter{436d0b80
ReceiverList{436d0b08 590 system/1000
client 436d0960}} 06-30 14:43:32.533:
WARN/ActivityManager(590):
finishReceiver called but no pending
broadcasts
Someone can tell me what that means?
In my application there are a lot of active thread.
Thanks in advance
The most likely cause of this is that you are doing some heavy processing in the
onReceive()method of aBroadcastReceiver. YouronReceive()should typically just kick off aServiceand then return, and any processing is done in yourService. My guess is that youronReceive()is taking too long to complete, resulting in this error. Read the section on Receiver Lifecycle for more information.