EventBus.getDefault().post(new UploadEvents.GDocs().failed("Not authorized"));
return;
}
try {
File gpsDir = new File(preferenceHelper.getGpsLoggerFolder());
<BUG>File gpxFile = new File(gpsDir, fileName);
</BUG>
LOG.debug("Submitting Google Docs job");
String uploadFolderName = googleDriveFolderName;
if(Strings.isNullOrEmpty(googleDriveFolderName)){

EventBus.getDefault().post(new UploadEvents.GDocs().failed("Not authorized"));
return;
}
try {
File gpsDir = new File(preferenceHelper.getGpsLoggerFolder());
final File gpxFile = new File(gpsDir, fileName);
LOG.debug("Submitting Google Docs job");
String uploadFolderName = googleDriveFolderName;
if(Strings.isNullOrEmpty(googleDriveFolderName)){
