This is an automated email from the ASF dual-hosted git repository.

luckychen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git


The following commit(s) were added to refs/heads/master by this push:
     new e5d78b6  [data-render] fix interactive time record is not correct in 
wlasm mode (#2977)
e5d78b6 is described below

commit e5d78b6351f4bb0ddc5d1c7336f235b39d75d889
Author: Xu Jiacheng <hpop1...@163.com>
AuthorDate: Tue Oct 22 10:50:14 2019 +0800

    [data-render] fix interactive time record is not correct in wlasm mode 
(#2977)
---
 android/sdk/src/main/java/org/apache/weex/WXSDKInstance.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/android/sdk/src/main/java/org/apache/weex/WXSDKInstance.java 
b/android/sdk/src/main/java/org/apache/weex/WXSDKInstance.java
index d2ed97e..0ea578c 100644
--- a/android/sdk/src/main/java/org/apache/weex/WXSDKInstance.java
+++ b/android/sdk/src/main/java/org/apache/weex/WXSDKInstance.java
@@ -1647,6 +1647,9 @@ public class WXSDKInstance implements 
IWXActivityStateListener,View.OnLayoutChan
     if (!isNewFsEnd){
       getApmForInstance().arriveNewFsRenderTime();
     }
+    if 
(!getApmForInstance().stageMap.containsKey(WXInstanceApm.KEY_PAGE_STAGES_INTERACTION)){
+      getApmForInstance().arriveInteraction(getRootComponent());
+    }
 
     long time = System.currentTimeMillis() - mRenderStartTime;
     long[] renderFinishTime = 
WXBridgeManager.getInstance().getRenderFinishTime(getInstanceId());

Reply via email to