一点一点补全
android的ActivityManagerService作为管理activity的实际类,包含了activity实际运行用到的所有方法
其中崩溃的上报就在这里,方法:
public void More ...handleApplicationCrash(IBinder app, ApplicationErrorReport.CrashInfo crashInfo)
就是当dalvik虚拟机在捕获到app异常时调用的处理函数
在其介绍中可以看到这点,
Used by com.android.internal.os.RuntimeInit
to report when an application crashes. The application process will exit immediately after this call returns.
Parameters:
app
object of the crashing app, null for the system server
crashInfo
describing the exception
st=>start: start
op=>operation: do
cond=>condition: yes or ne
e=>end
st->op->cond
cond(yes)->e
cond(no)->op