From 1290d00a4f157786c63301b6fefb0fcae549a807 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 21 Mar 2023 15:57:13 -0400 Subject: [PATCH] Fixed Android's StreamImageSourceService.LoadDrawableAsync() Transition back to the calling thread context (which should theoretically be the main thread). Fixes issue #14052 --- .../StreamImageSourceService.Android.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/src/ImageSources/StreamImageSourceService/StreamImageSourceService.Android.cs b/src/Core/src/ImageSources/StreamImageSourceService/StreamImageSourceService.Android.cs index d31045b4fd73..c42c1be75922 100644 --- a/src/Core/src/ImageSources/StreamImageSourceService/StreamImageSourceService.Android.cs +++ b/src/Core/src/ImageSources/StreamImageSourceService/StreamImageSourceService.Android.cs @@ -21,7 +21,7 @@ public partial class StreamImageSourceService Stream? stream = null; try { - stream = await streamImageSource.GetStreamAsync(cancellationToken).ConfigureAwait(false); + stream = await streamImageSource.GetStreamAsync(cancellationToken); var callback = new ImageLoaderCallback();