tracer ftrace笔记(19)—— 待解问题汇总

1. 长时间卡在 MSG_WINDOW_FOCUS_CHANGED 条目中

public void handleMessage(Message msg) //android/view/ViewRootImpl.java
    Trace.traceBegin(Trace.TRACE_TAG_VIEW, getMessageName(msg)); //这里打印条目有 MSG_WINDOW_FOCUS_CHANGED 
    handleMessageImpl(msg);
    Trace.traceEnd(Trace.TRACE_TAG_VIEW);

handleMessageImpl(msg);
    case MSG_WINDOW_FOCUS_CHANGED:
        handleWindowFocusChanged(); //ViewRootImpl.java

 

posted on 2023-08-04 21:46  Hello-World3  阅读(65)  评论(0编辑  收藏  举报

导航