I am using Fresco to load images from phone storage by uri into SimpleDraweeView (both internal and external, using content provider - 'content://'). They are loading fine, but keep rotating if they have orientation set in their properties. I tried to set imageRequest with .setAutoRotateEnabled(true) property, but for some reason it doesn't work for me. Any suggestions on how to rotate images to display them properly?
imageView.setController(
controllerBuilder
.setOldController(imageView.getController())
.setImageRequest(imageRequestBuilder
.setSource(uri)
.setAutoRotateEnabled(true)
.setResizeOptions(null)
.build())
.build());