code: public void getPushState(GetPushStateHandler handler) {
          HMSAgentLog.i("getPushState:handler=" + StrUtils.objDesc(handler));
          this.handler = handler;
          connect();
      }
docs: 获取push状态，push状态的回调通过广播发送。
  要监听的广播，请参见HMS-SDK开发准备中PushReceiver的注册