public void retryResult(String sResponseCode, String sResponseDesc) { L.event( "In retryResult()... sResponseCode ==> " + sResponseCode + ", sResponseDesc ==> " + sResponseDesc); Constants.IS_FAILED_UPLOAD_RUNNING = false; }
void doUploadFailedResults( AppActivity activity, ArrayList<String> lstXMLFilePath, ArrayList<String> lstLogcatFilesPath) { L.event(" Uploading failed files "); NotificationUtil.showFailedNotification(activity, " Uploading failed files ", true); ResultUploadTask retryTask = new ResultUploadTask(activity, lstXMLFilePath, lstLogcatFilesPath); retryTask.execute(); Constants.IS_FAILED_UPLOAD_RUNNING = true; }
public ResultUploadTask( AppActivity activity, ArrayList<String> lstXMLFilePath, ArrayList<String> lstLogcatFilesPath) { this.activity = activity; arrLstDevInfoXMLFilesPath = lstXMLFilePath; arrLstLogcatFilesPath = lstLogcatFilesPath; L.event( "RetryUploadTask()... \n DevInfoXMLFilesPath ==> " + arrLstDevInfoXMLFilesPath + "\n LogcatFilesPath ==> " + arrLstLogcatFilesPath); }