.isJpg()
This commit is contained in:
parent
fdc1063838
commit
76a9dfe6c7
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||
return@getFileOutputStream
|
||||
}
|
||||
|
||||
if (currPath.isImageFast() && !currPath.isPng()) { // Is always JPEG?
|
||||
if (currPath.isJpg()) {
|
||||
saveRotation(currPath, tmpFile)
|
||||
} else {
|
||||
saveFile(tmpFile, bitmap, it as FileOutputStream)
|
||||
|
|
Loading…
Reference in a new issue