diff --git a/android/sdk/src/main/AndroidManifest.xml b/android/sdk/src/main/AndroidManifest.xml
index e0d8d4b158..5360c0c9f2 100755
--- a/android/sdk/src/main/AndroidManifest.xml
+++ b/android/sdk/src/main/AndroidManifest.xml
@@ -20,14 +20,4 @@ under the License.
+ * This class is for internal purpose, + * please don't use it directly unless you know what you are doing. + *
*/ -public final class WXWorkThreadManager { +@RestrictTo(Scope.LIBRARY_GROUP) +public class WXWorkThreadManager { private ExecutorService singleThreadExecutor; diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/module/WXDomModule.java b/android/sdk/src/main/java/com/taobao/weex/ui/module/WXDomModule.java index 8f8c957380..08ce0542f8 100644 --- a/android/sdk/src/main/java/com/taobao/weex/ui/module/WXDomModule.java +++ b/android/sdk/src/main/java/com/taobao/weex/ui/module/WXDomModule.java @@ -18,6 +18,8 @@ */ package com.taobao.weex.ui.module; +import android.support.annotation.RestrictTo; +import android.support.annotation.RestrictTo.Scope; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.taobao.weex.WXSDKInstance; @@ -41,8 +43,14 @@ ** This module is work different with other regular module, method is invoked directly, without reflection. *
+ * + *+ * This class is for internal purpose, + * please don't use it directly unless you know what you are doing. + *
*/ -public final class WXDomModule extends WXModule { +@RestrictTo(Scope.LIBRARY_GROUP) +public class WXDomModule extends WXModule { /** package **/ public static final String SCROLL_TO_ELEMENT = "scrollToElement";