Refactoring

This commit is contained in:
M66B
2019-10-23 18:26:23 +02:00
parent 7f54059aab
commit 8e9d6da937
4 changed files with 76 additions and 78 deletions

View File

@@ -2043,7 +2043,7 @@ public class FragmentCompose extends FragmentBase {
options.outHeight / factor > resize)
factor *= 2;
Matrix rotation = ("image/jpeg".equals(attachment.type) ? Helper.getImageRotation(file) : null);
Matrix rotation = ("image/jpeg".equals(attachment.type) ? ImageHelper.getImageRotation(file) : null);
Log.i("Image type=" + attachment.type + " rotation=" + rotation);
if (factor > 1 || rotation != null) {