Skip to content

[Android] Fix ActivityStateManager leaking lifecycle callbacks on Activity recreation - #36161

Merged
kubaflo merged 2 commits into
dotnet:inflight/currentfrom
Shalini-Ashokan:fix-36035
Jun 28, 2026
Merged

[Android] Fix ActivityStateManager leaking lifecycle callbacks on Activity recreation#36161
kubaflo merged 2 commits into
dotnet:inflight/currentfrom
Shalini-Ashokan:fix-36035

Added curly braces

b31f961
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr (Build .NET MAUI Build macOS (Debug)) failed Jun 28, 2026 in 21m 1s

Build .NET MAUI Build macOS (Debug) failed

Annotations

Check failure on line 359 in src/TestUtils/src/Microsoft.Maui.IntegrationTests/SimpleTemplateTest.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr (Build .NET MAUI Build macOS (Debug))

src/TestUtils/src/Microsoft.Maui.IntegrationTests/SimpleTemplateTest.cs#L359

src/TestUtils/src/Microsoft.Maui.IntegrationTests/SimpleTemplateTest.cs(359,10): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Assert' does not contain a definition for 'IsTrue'

Check failure on line 363 in src/TestUtils/src/Microsoft.Maui.IntegrationTests/SimpleTemplateTest.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr (Build .NET MAUI Build macOS (Debug))

src/TestUtils/src/Microsoft.Maui.IntegrationTests/SimpleTemplateTest.cs#L363

src/TestUtils/src/Microsoft.Maui.IntegrationTests/SimpleTemplateTest.cs(363,10): error CS0117: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Assert' does not contain a definition for 'IsTrue'