From 7d2b01baa0a8dcc9447ff846485fe5cbca8a3677 Mon Sep 17 00:00:00 2001 From: tongchenfei Date: Wed, 9 Sep 2020 15:42:31 +0800 Subject: [PATCH] =?UTF-8?q?opt:=20=E4=B8=B4=E6=97=B6=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E6=8E=89=E8=8E=B7=E5=8F=96=E8=BF=9C=E7=AB=AF=E5=88=86=E4=BA=AB?= =?UTF-8?q?=E6=A1=86=E9=85=8D=E7=BD=AE=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mogo/module/share/ShareControl.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/modules/mogo-module-share/src/main/java/com/mogo/module/share/ShareControl.java b/modules/mogo-module-share/src/main/java/com/mogo/module/share/ShareControl.java index b5e29e66bc..f9cedd8ef0 100644 --- a/modules/mogo-module-share/src/main/java/com/mogo/module/share/ShareControl.java +++ b/modules/mogo-module-share/src/main/java/com/mogo/module/share/ShareControl.java @@ -204,19 +204,19 @@ public class ShareControl implements IMogoShareManager, IMogoIntentListener, IMo }); } - ServiceApisManager.serviceApis.getStatusManagerApi().registerStatusChangedListener(TAG, StatusDescriptor.ACC_STATUS, new IMogoStatusChangedListener() { - @Override - public void onStatusChanged(StatusDescriptor descriptor, boolean isTrue) { - if (isTrue) { - queryShareConfigRetryTime = 0; - queryShareButtonConfig(); - } - } - }); - - // 获取分享框配置信息 - queryShareConfigRetryTime = 0; - queryShareButtonConfig(); +// ServiceApisManager.serviceApis.getStatusManagerApi().registerStatusChangedListener(TAG, StatusDescriptor.ACC_STATUS, new IMogoStatusChangedListener() { +// @Override +// public void onStatusChanged(StatusDescriptor descriptor, boolean isTrue) { +// if (isTrue) { +// queryShareConfigRetryTime = 0; +// queryShareButtonConfig(); +// } +// } +// }); +// +// // 获取分享框配置信息 +// queryShareConfigRetryTime = 0; +// queryShareButtonConfig(); Logger.d(TAG,"init over===="); }