Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android: show local files on older devices #1122

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Conversation

yamanq
Copy link
Contributor

@yamanq yamanq commented Apr 5, 2024

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.

@pulsejet pulsejet added the android NativeX / Android label Apr 11, 2024
@pulsejet pulsejet added this to the 7.3 milestone Apr 11, 2024
@pulsejet pulsejet merged commit 7ed65aa into pulsejet:master Apr 11, 2024
@pulsejet
Copy link
Owner

pulsejet commented Apr 11, 2024

Tested on 14, works well. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android NativeX / Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] local photos do not work on older Android version
2 participants