Skip to content

Commit 2061e1f

Browse files
committed
add intent chooser video
1 parent d70746a commit 2061e1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/image_picker/image_picker/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ private void launchPickVideoFromGalleryIntent() {
255255
Intent pickVideoIntent = new Intent(Intent.ACTION_GET_CONTENT);
256256
pickVideoIntent.setType("video/*");
257257

258-
activity.startActivityForResult(pickVideoIntent, REQUEST_CODE_CHOOSE_VIDEO_FROM_GALLERY);
258+
activity.startActivityForResult(Intent.createChooser(pickVideoIntent, null), REQUEST_CODE_CHOOSE_VIDEO_FROM_GALLERY);
259259
}
260260

261261
public void takeVideoWithCamera(MethodCall methodCall, MethodChannel.Result result) {

0 commit comments

Comments
 (0)