NativeActivity的OnCreate过程及InputQueue相关分析
每一个应用程序都有一个ActivityThread,当这个应用的进程创建时,会进入到ActivityThread的main函数运行
public static void main(String[] args) {
SamplingProfilerIntegration.start();
// CloseGuard defaults to true and can be quite spammy. We
// disable it here, but selectively enable it later (via
// StrictMode) on debug builds, but using DropBox, not logs.
CloseGuard.setEnabled(false);
Environment.initForCurrentUser();
// Set the reporter for event logging in libcore
...