I found that the previous PR was only one step to fixing the issue. Just like before, android:requestLegacyExternalStorage is needed for permission purposes, which fixes the EXIF data and full image on zoom. However, the thumbnail generation was still not working as the URI returned by ContentUris.withAppendedId was incorrect, so I used a different approach to get the correct URI.
I could not easily test on newer devices but on my Android 10, this fixes #1000.
I found that the previous PR was only one step to fixing the issue. Just like before, android:requestLegacyExternalStorage is needed for permission purposes, which fixes the EXIF data and full image on zoom. However, the thumbnail generation was still not working as the URI returned by ContentUris.withAppendedId was incorrect, so I used a different approach to get the correct URI.
I could not easily test on newer devices but on my Android 10, this fixes #1000.