You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ky...@apache.org on 2018/11/13 03:33:15 UTC

[incubator-weex] branch master updated: * [Android] Change NestedInstance in WXEmbed to protected for sub-class to override. (#1744)

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

kyork 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 235f3a5  * [Android] Change NestedInstance in WXEmbed to protected for sub-class to override. (#1744)
235f3a5 is described below

commit 235f3a525c7d60119576af82755ed7000a45b875
Author: YorkShen <sh...@gmail.com>
AuthorDate: Tue Nov 13 11:33:09 2018 +0800

    * [Android] Change NestedInstance in WXEmbed to protected for sub-class to override. (#1744)
---
 android/sdk/src/main/java/com/taobao/weex/ui/component/WXEmbed.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/component/WXEmbed.java b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXEmbed.java
index 1712c8e..6eb4f2f 100644
--- a/android/sdk/src/main/java/com/taobao/weex/ui/component/WXEmbed.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXEmbed.java
@@ -64,7 +64,7 @@ public class WXEmbed extends WXDiv implements WXSDKInstance.OnInstanceVisibleLis
   public static final String ITEM_ID = "itemId";
 
   private String src;
-  private WXSDKInstance mNestedInstance;
+  protected WXSDKInstance mNestedInstance;
   private static int ERROR_IMG_WIDTH = (int) WXViewUtils.getRealPxByWidth(270,750);
   private static int ERROR_IMG_HEIGHT = (int) WXViewUtils.getRealPxByWidth(260,750);