I have a broadcast receiver registered programatically in a activity. It responds to the PACKAGE_REMOVED
intent, that fires when a package gets removed.
The problem is, it doesn't get this message. I think this is due to that the intent is fired when I leave the activity and move to another activity to uninstall a app, so the original activity is paused.
Could it be that a paused activity (where the receiver is not unregistered in onPause
) also pauses the receiver?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…