Much of my comment above doesn't make sense. I was getting pick and share confused. For the pick activity, on low memory devices we capture a smaller image, so all that needs to be done is rotation and not resizing.

But the share activity is different. If we're on a device that uses EXIF orientation we need to rotate. And if we're on a low-memory device then we need to resize as part of that rotation or we'll end up with OOM errors.  In 1.3T, those two conditions (EXIF and low memory) always went together. Here you might need to consider the EXIF but enough memory case separately from the EXIF+low memory case.

Also, I now see that you do save the resized image back to the sdcard, so that is good.