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

Commit

Permalink
[Android] Remove duplicate receiver in manifest and remove final from…
Browse files Browse the repository at this point in the history
  • Loading branch information
YorkShen authored and lucky-chen committed Sep 4, 2019
1 parent 72b0bdb commit cbfb57b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
10 changes: 0 additions & 10 deletions android/sdk/src/main/AndroidManifest.xml
Expand Up @@ -20,14 +20,4 @@ under the License.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.taobao.weex">
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>

<application>
<receiver
android:name="com.taobao.weex.WXGlobalEventReceiver"
android:enabled="true"
android:exported="false">
</receiver>


</application>
</manifest>
Expand Up @@ -18,13 +18,21 @@
*/
package com.taobao.weex.common;

import android.support.annotation.RestrictTo;
import android.support.annotation.RestrictTo.Scope;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
* Class for managing work thread
* Class for managing work thread.
*
* <p>
* This class is for internal purpose,
* please don't use it directly unless you know what you are doing.
* </p>
*/
public final class WXWorkThreadManager {
@RestrictTo(Scope.LIBRARY_GROUP)
public class WXWorkThreadManager {

private ExecutorService singleThreadExecutor;

Expand Down
Expand Up @@ -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;
Expand All @@ -41,8 +43,14 @@
* <p>
* This module is work different with other regular module, method is invoked directly, without reflection.
* </p>
*
* <p>
* This class is for internal purpose,
* please don't use it directly unless you know what you are doing.
* </p>
*/
public final class WXDomModule extends WXModule {
@RestrictTo(Scope.LIBRARY_GROUP)
public class WXDomModule extends WXModule {

/** package **/
public static final String SCROLL_TO_ELEMENT = "scrollToElement";
Expand Down

0 comments on commit cbfb57b

Please sign in to comment.