clear Recent apps wipe the apps memory and my receiver stopped working

后端 未结 3 1397
遥遥无期
遥遥无期 2020-11-27 14:46

MyApp\'s Receiver is just working fine if it in background which is:

    public class MySmsReceiver extends WakefulBroadcastReceiver {

    @Override
    pub         


        
3条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-27 15:18

    If the "Force Stop" button is disabled it means swiping the app away in Overview has caused your app to be force stopped on this device. You will not be receiving any broadcasts until the user interacts with your app again.

提交回复
热议问题