diff options
author | E.Z. Hart <hartez@users.noreply.github.com> | 2016-05-04 07:08:54 -0600 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2016-05-04 14:08:54 +0100 |
commit | 5b9094241b1d3da5419ed21be30bdcc07c469dbe (patch) | |
tree | cd22a4b646a7002c61e4b7fe0714c0f64e483d38 /Xamarin.Forms.Platform.Android/Renderers | |
parent | a2148444bafd728090c39c1f40700b43baded1e4 (diff) | |
download | xamarin-forms-5b9094241b1d3da5419ed21be30bdcc07c469dbe.tar.gz xamarin-forms-5b9094241b1d3da5419ed21be30bdcc07c469dbe.tar.bz2 xamarin-forms-5b9094241b1d3da5419ed21be30bdcc07c469dbe.zip |
Prep StreamImageSource for removal of InternalsVisibleTo
Diffstat (limited to 'Xamarin.Forms.Platform.Android/Renderers')
-rw-r--r-- | Xamarin.Forms.Platform.Android/Renderers/StreamImagesourceHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Android/Renderers/StreamImagesourceHandler.cs b/Xamarin.Forms.Platform.Android/Renderers/StreamImagesourceHandler.cs index 44066975..3128995d 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/StreamImagesourceHandler.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/StreamImagesourceHandler.cs @@ -13,7 +13,7 @@ namespace Xamarin.Forms.Platform.Android var streamsource = imagesource as StreamImageSource; if (streamsource != null && streamsource.Stream != null) { - using (Stream stream = await streamsource.GetStreamAsync(cancelationToken).ConfigureAwait(false)) + using (Stream stream = await ((IStreamImageSource)streamsource).GetStreamAsync(cancelationToken).ConfigureAwait(false)) return await BitmapFactory.DecodeStreamAsync(stream).ConfigureAwait(false); } return null; |