@VisibleForTesting public static Intent createUploadIntent(Context context,File minidumpFile,File logfile){
  Intent intent=new Intent(context,MinidumpUploadService.class);
  intent.setAction(ACTION_UPLOAD);
  intent.putExtra(FILE_TO_UPLOAD_KEY,minidumpFile.getAbsolutePath());
  intent.putExtra(UPLOAD_LOG_KEY,logfile.getAbsolutePath());
  return intent;
}

@ VisibleForTesting public static Intent createUploadIntent ( Context context , File minidumpFile , File logfile ) { Intent intent = new Intent ( context , MinidumpUploadService . class ) ; intent . setAction ( ACTION_UPLOAD ) ; intent . putExtra ( FILE_TO_UPLOAD_KEY , minidumpFile . getAbsolutePath ( ) ) ; intent . putExtra ( UPLOAD_LOG_KEY , logfile . getAbsolutePath ( ) ) ; return intent ; }
creates an intent that when started will find all minidumps , and try to upload them .
