Skip to content

Commit 2094ae8

Browse files
ne0rrmatrixCopilot
andauthored
Update src/CommunityToolkit.Maui.UnitTests/BaseTest.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9eb07b8 commit 2094ae8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CommunityToolkit.Maui.UnitTests/BaseTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ protected virtual void Dispose(bool isDisposing)
9090
// Restore default MediaElementOptions
9191
var mediaElementOptions = new MediaElementOptions();
9292
mediaElementOptions.SetDefaultAndroidViewType(AndroidViewType.SurfaceView);
93+
mediaElementOptions.SetAndroidForegroundServiceEnabled(false);
9394
isDisposed = true;
9495
}
9596

0 commit comments

Comments
 (0)