wjc
104 分钟以前 8b43d4e1190fc9e2261be0579e53cc6c2987f946
app/src/main/java/com/hdl/photovoltaic/ui/BPowerStationActivity.java
@@ -287,12 +287,6 @@
        //启动页与mainActivity样式一样,这样启动页和mainActivity看上去是一个界面,目的是为了mainActivity遮住下一页;
//        AppManagerUtils.getAppManager().finishActivity(StartActivity.class);
        portConflictDialog();
//        Intent intent = new Intent(_mActivity, BPowerStationActivity.class);
//        intent.setFlags(Intent.Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
//        intent.putExtra("skip", "skip");//里面判断有这个标识就跳转到消息中心界面
//        _mActivity.startActivity(intent);
        //点击极光通知栏消息进来
//        this.clickJpushNotificationMessage();
    }
@@ -365,12 +359,6 @@
        HdlResidenceLogic.getInstance().pushAdd(new CloudCallBeak<String>() {
            @Override
            public void onSuccess(String pushId) {
                if (!TextUtils.isEmpty(pushId)) {
                    UserConfigManage.getInstance().setToken(token);
                    UserConfigManage.getInstance().setPushId(pushId);
                    UserConfigManage.getInstance().Save();
                }
                HdlLogLogic.print("添加令牌到云端 PushToken:" + UserConfigManage.getInstance().getPushToken() + " pushId:" + pushId, true);
            }
@@ -815,6 +803,9 @@
                showFragment();
            }
        } else if (event.getTopic().contains(ConstantManage.refresh_push_token)) {
            String token=event.getType();
            UserConfigManage.getInstance().setPushToken(token);
            UserConfigManage.getInstance().Save();
            //pushToken更新
            sendPushTokenToServer(UserConfigManage.getInstance().getPushToken());
        }