attempt to fix travis CI build fail

This commit is contained in:
harisankerPradeep 2018-02-15 20:41:14 +05:30 committed by Suchit Kar
parent f352a63bf2
commit ff88067101

View file

@ -495,11 +495,11 @@ public class ShareActivity
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
if (descriptor != null) {
tempImageObj = new GPSExtractor(descriptor.getFileDescriptor());
tempImageObj = new GPSExtractor(descriptor.getFileDescriptor(),this, prefs);
}
} else {
if (filePath != null) {
tempImageObj = new GPSExtractor(file.getAbsolutePath());
tempImageObj = new GPSExtractor(file.getAbsolutePath(), this, prefs);
}
}