Some Analysis of Android Broadcast Cannot Be Send Out

1. App in a stopped state

Starting from Android 3.1, you can add

intent.addFlags(32);

2. To break through implicit broadcasting, you need to add

When system codes 8.0 and above send broadcasts, add:

intent.addFlags(0x01000000)

Guess you like

Origin blog.csdn.net/wyyother1/article/details/131985041