attempt to fix travis CI build fail

This commit is contained in:
harisankerPradeep 2018-02-15 20:41:14 +05:30
parent 2eab64eb7a
commit 3a7b8880c7

View file

@ -492,11 +492,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);
}
}