Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[Android] Fix createFinish problem (#2701)
Browse files Browse the repository at this point in the history
  • Loading branch information
YorkShen authored and lucky-chen committed Jul 12, 2019
1 parent 1afd848 commit 23c8f3e
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -19,9 +19,7 @@
package com.taobao.weex.ui.action;

import android.support.annotation.NonNull;

import com.taobao.weex.WXSDKInstance;
import com.taobao.weex.WXSDKManager;
import com.taobao.weex.common.RenderTypes;
import com.taobao.weex.common.WXRenderStrategy;
import com.taobao.weex.performance.WXInstanceApm;
Expand Down Expand Up @@ -56,8 +54,6 @@ public void executeAction() {
return;
}

instance.mHasCreateFinish = true;

if (instance.getRenderStrategy() == WXRenderStrategy.APPEND_ONCE) {
instance.onCreateFinish();
}else{
Expand All @@ -66,6 +62,8 @@ public void executeAction() {
}
}

instance.mHasCreateFinish = true;

if (null != instance.getWXPerformance()){
instance.getWXPerformance().callCreateFinishTime = System.currentTimeMillis()-instance.getWXPerformance().renderTimeOrigin;
}
Expand Down

0 comments on commit 23c8f3e

Please sign in to comment.