@Override public void onEventResponse(EventSyncResponse response) { if (eventManager != null) { if (!isEventSnSynchronized && response.getEventSequenceNumberResponse() != null) { int lastSn = response.getEventSequenceNumberResponse().getSeqNum(); int expectedSn = lastSn > 0 ? lastSn + 1 : lastSn;