mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00:00
Add audio to picker.
This commit is contained in:
parent
89d10451ce
commit
d1fffb477f
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ public class SampleChooserActivity extends AppCompatActivity
|
|||
if (!mediaItems.isEmpty()) {
|
||||
final MediaItem mediaItem = mediaItems.get(0);
|
||||
if (mediaItem.localConfiguration != null && USER_CONTENT.equals(mediaItem.localConfiguration.uri)) {
|
||||
openDocumentLauncher.launch(new String[]{"video/*"});
|
||||
openDocumentLauncher.launch(new String[]{"video/*","audio/*"});
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue