public QueueEntry(long time, long groupId, int orderIdx) { super(); this.systemTimeMilliseconds = time; this.systemTimeAsDebugString = new SKDateFormat(SKApplication.getAppInstance()).UITime(systemTimeMilliseconds); this.groupId = groupId; this.orderIdx = orderIdx; }
@Override public StateResponseCode executeState() { if ((SK2AppSettings.getInstance().isDataCapReached() == true) && (SKApplication.getAppInstance().getIsDataCapEnabled() == true) && (OtherUtils.isWifi(ctx) == false)) { Log.d(TAG, "Results have not been submitted because the data cap is reached"); } else { new SubmitTestResultsAnonymousAction(ctx).execute(); } return StateResponseCode.OK; }