Procházet zdrojové kódy

[修改]去掉Toast

zeki před 5 roky
rodič
revize
59186aa023

+ 2 - 2
app/src/main/java/com/sheep/gamegroup/util/ProcessEventBroadCastReceiver.java

@@ -13,11 +13,11 @@ public class ProcessEventBroadCastReceiver extends BroadcastReceiver {
     @Override
     public void onReceive(Context context, Intent intent) {
         String eventJson = intent.getStringExtra("eventJson");
-        G.showToast("~~~~~收到广播,json:" + eventJson);
+        //G.showToast("~~~~~收到广播,json:" + eventJson);
         try {
             Object event = new JSONObject(eventJson);
             EventBus.getDefault().post(event);
-            G.showToast("发送了事件");
+            //G.showToast("发送了事件");
         } catch (JSONException e) {
             e.printStackTrace();
             G.showToast("error" + e.getMessage());

+ 0 - 1
app/src/main/java/com/sheep/gamegroup/util/js/KFZSJs.java

@@ -919,7 +919,6 @@ public class KFZSJs {
 
     @Subscribe
     public void whenWXAuth(WXLoginAuthEvent ev) {
-        G.showToast("收到了微信登录后的事件"+ev.code);
         EventBus.getDefault().unregister(this);
         if (!TextUtils.isEmpty(ev.code)) {
             WXAPIUtil.loadWXUserToken(ev.code, (ret, openid, accessToken, refreshToken) -> {