Skip to content

add "text/*" to supportedMimeTypesVideo in Utils.java #455

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

Closed
wants to merge 1 commit into from

Conversation

connectedway
Copy link

The picker intent launched by openFile does not allow the use of document providers that are potentially available on the system. Curiously, the picker intent launched by loadSubtitleFile does. They are nearly identical code with one exception, they use different EXTRA_MIME_TYPES. Through investigation, it hs been determined that EXTRA_MIME_TYPES seems to require the mime type "test/*" in order for document providers to be shown.

The picker intent launched by openFile does not allow the use of
document providers that are potentially available on the system.
Curiously, the picker intent launched by loadSubtitleFile does.  They
are nearly identical code with one exception, they use different
EXTRA_MIME_TYPES.  Through investigation, it hs been determined that
EXTRA_MIME_TYPES seems to require the mime type "test/*" in order for
document providers to be shown.
@connectedway
Copy link
Author

Turns out, the problem was on the document provider side. It was not advertising the correct set of mime types. I'm closing this pull request.

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.

2 participants