ImageView image populated Upside Down

I am trying to populate an image in an ImageView using Picasso, but the image is populated upside down or rotated 90 degrees. Below is the code for populating the image. This is happening with one few images.

                    .load(NetworkConstants.IMAGE_PREFIX + flag.get(position).getFilePath())
                    .resize(400, 400)

The outcome of this code is:

Only this picture is upside down.

Url For the Image

This same picture comes properly in IOS devices. Thank in Advance for you help.


Could be a bug because the image orientation is wrong in your photo EXIF. This snippet might help you: