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

Manually handle audio/mp4 file extension in older versions of Android #632

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

chenxiaolong
Copy link
Owner

Android 9 and 10 support a much smaller list of MIME types because they hadn't migrated to the mime-support package yet (used by most Linux distros). With this commit, BCR will explicitly append the file extension for audio/mp4 when saving to local storage. Other document providers don't get this special treatment because there is no way to determine which MIME types they support.

Android 9 and 10 support a much smaller list of MIME types because they
hadn't migrated to the mime-support package yet (used by most Linux
distros). With this commit, BCR will explicitly append the file
extension for audio/mp4 when saving to local storage. Other document
providers don't get this special treatment because there is no way to
determine which MIME types they support.

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong self-assigned this Nov 15, 2024
chenxiaolong added a commit that referenced this pull request Nov 15, 2024
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong merged commit adb43e3 into master Nov 15, 2024
1 check passed
@chenxiaolong chenxiaolong deleted the mime-type branch November 15, 2024 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant