Skip to content

[Android] Fix PickPhotosAsync remains pending when its activity is recreated while Photo Picker is open - #36767

Merged
kubaflo merged 3 commits into
dotnet:inflight/currentfrom
HarishwaranVijayakumar:fix-36523
Aug 1, 2026
Merged

kubaflo merged 3 commits into
dotnet:inflight/currentfrom
HarishwaranVijayakumar:fix-36523

Update test

f9a8772
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr-uitests (Build UITests Sample App Build Sample App) failed Jul 30, 2026 in 14m 22s

Build UITests Sample App Build Sample App failed

Annotations

Check failure on line 49 in src/Controls/src/Core/Handlers/Items/iOS/MauiCollectionView.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests (Build UITests Sample App Build Sample App)

src/Controls/src/Core/Handlers/Items/iOS/MauiCollectionView.cs#L49

src/Controls/src/Core/Handlers/Items/iOS/MauiCollectionView.cs(49,15): Error MEM0002: Member '_contentOffsetObserver' could cause memory leaks in an NSObject subclass. Remove the member, store the value as a WeakReference, or add the [UnconditionalSuppressMessage("Memory", "MA0002")] attribute with a justification as to why the member will not leak.

Check failure on line 17 in src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/UIContainerCell.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests (Build UITests Sample App Build Sample App)

src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/UIContainerCell.cs#L17

src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/UIContainerCell.cs(17,22): Error MEM0002: Member '_viewResource' could cause memory leaks in an NSObject subclass. Remove the member, store the value as a WeakReference, or add the [UnconditionalSuppressMessage("Memory", "MA0002")] attribute with a justification as to why the member will not leak.

Check failure on line 22 in src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests (Build UITests Sample App Build Sample App)

src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt#L22

src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt(22,1): Error RS0025: The symbol 'override Microsoft.Maui.Controls.Handlers.Items2.StructuredItemsViewController2<TItemsView>.UpdateFlowDirection() -> void' appears more than once in the public API files (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 24 in src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests (Build UITests Sample App Build Sample App)

src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt#L24

src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt(24,1): Error RS0025: The symbol '~override Microsoft.Maui.Controls.SwipeItems.OnPropertyChanged(string propertyName = null) -> void' appears more than once in the public API files (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 25 in src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests (Build UITests Sample App Build Sample App)

src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt#L25

src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt(25,1): Error RS0025: The symbol 'Microsoft.Maui.Controls.Label.~Label() -> void' appears more than once in the public API files (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)