使用adb am发广播拉起应用,会经历下面流程拉起应用
adb shell am broadcast -a com.xxx.xxxx
ActivityManagerShellCommand.runSendBroadcast
ActivityManagerService.broadcastIntent
ActivityManagerService.broadcastIntentLocked
BroadcastQueue.scheduleBroadcastsLocked
BroadcastQueue.processNextBroadcast
ActivityManagerService.startProcessLocked
网友评论