Beispiel #1
0
 @Override
 protected void onPostExecute(Message msg) {
   String sResponseCode = msg.getData().getString(StringUtils.CODE);
   String sResponseDesc = msg.getData().getString(StringUtils.DESC);
   L.debug("onPostExecute()... " + sResponseDesc);
   DeviceUtil.updateTestScreen();
   NotificationUtil.showFailedNotification(activity, sResponseDesc, true);
   retryResult(sResponseCode, sResponseDesc);
 }
Beispiel #2
0
 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;
 }