public boolean handleMessage(Message message) {
   Log.debug(
       AnalyticsUtils.ANALYTICS_LOGGING_TAG, "NetworkManager->handleMessag: msg:" + message);
   if (message.what == 1001) {
     if (AnalyticsInitializer.getConfigParams().getAutomaticCapture().getAutoSessionCapture()
         || AnalyticsEventsWrapper.isEventsUser()) {
       a.this.b();
     } else {
       AnalyticsUtils.setStartHandle(false);
     }
   }
   return true;
 }
 private void b() {
   boolean z = 1;
   if (!(this.d == null || !this.d.isConnected() || this.c == null)) {
     AnalyticsPayload payloadList =
         this.c.getPayloadList(
             AnalyticsDatabaseManager.getInstance().getEvents(), InternalSDKUtil.getContext());
     if (payloadList.getCompletePayload() != null) {
       a(payloadList, SessionInfo.getAppId(InternalSDKUtil.getContext()));
       z = false;
     }
   }
   if (i == 0) {
     a.sendEmptyMessageDelayed(MESSAGE_PING, AnalyticsUtils.getTimeinterval());
   } else {
     AnalyticsUtils.setStartHandle(false);
   }
 }