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

Commit

Permalink
[Android] No need to reboot js engine if render by eagle (#2696)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darin726 authored and YorkShen committed Jul 15, 2019
1 parent cea65ec commit 961ac83
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,11 @@ public void run() {
return;
}

// there is no need to reboot js engine if render by eagle
if(isDataRender()) {
return;
}

View containerView = getContainerView();
if(containerView instanceof ViewGroup) {
if(0 == ((ViewGroup) containerView).getChildCount()) {
Expand Down

0 comments on commit 961ac83

Please sign in to comment.