diff --git a/Xamarin.Essentials/MediaPicker/MediaPicker.android.cs b/Xamarin.Essentials/MediaPicker/MediaPicker.android.cs index 76e51ab15..2c4a22dfd 100644 --- a/Xamarin.Essentials/MediaPicker/MediaPicker.android.cs +++ b/Xamarin.Essentials/MediaPicker/MediaPicker.android.cs @@ -22,7 +22,7 @@ static async Task PlatformPickAsync(MediaPickerOptions options, bool { // We only need the permission when accessing the file, but it's more natural // to ask the user first, then show the picker. - await Permissions.RequestAsync(); + await Permissions.EnsureGrantedAsync(); var intent = new Intent(Intent.ActionGetContent); intent.SetType(photo ? FileSystem.MimeTypes.ImageAll : FileSystem.MimeTypes.VideoAll);