mac
2024-03-20 9d6dd1ccc62eb2c7030eb0cc1e6aa05d7ee67458
app/src/main/java/com/hdl/photovoltaic/ui/MyPowerStationActivity.java
@@ -92,13 +92,23 @@
        this.initMqttClient();
        //上传极光注册ID到云端
        this.pushTokens();
        //点击极光通知栏消息进来
//        //点击极光通知栏消息进来
        this.clickJpushNotificationMessage();
        //初始化权限
        this.requestPermissions();
    }
    @Override
    protected void onResume() {
        super.onResume();
//        Intent intent = new Intent(_mActivity, MyPowerStationActivity.class);
//        intent.setFlags(Intent.Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
//        intent.putExtra("skip", "skip");//里面判断有这个标识就跳转到消息中心界面
//        _mActivity.startActivity(intent);
        //点击极光通知栏消息进来
//        this.clickJpushNotificationMessage();
    }
    /**
     * 上传极光注册ID到云端