Repository navigation
[net11][Android] Temporarily revert native edge-to-edge - #39579
Merged
Merged
Conversation
This reverts commit 7763a41 (#36226). Restore the previous Android system-bar behavior while #39566 prepares the native edge-to-edge implementation together with its updated screenshot baselines. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 39af0031-8c13-4af0-99df-367a03d03792
kubaflo
temporarily deployed
to
copilot-pat-pool
October 22, 2026 22:20 — with
GitHub Actions
Inactive
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 39579Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39579" |
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
kubaflo
temporarily deployed
to
copilot-pat-pool
October 22, 2026 22:20 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 22, 2026 22:21 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 22, 2026 22:23 — with
GitHub Actions
Inactive
kubaflo
pushed a commit
that referenced
this pull request
Oct 22, 2026
…lines Reapply the original implementation, system-bar theme updates, Android resources, and Issue32987 tests from #36226 on top of rollback PR #39579. Keep #39566's existing 1,766 screenshot baseline updates and exclusions unchanged. (cherry picked from commit 7763a41) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: d79af75a-1980-4a92-8856-8915baf0d11e
kubaflo
temporarily deployed
to
copilot-pat-pool
October 22, 2026 22:25 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 22, 2026 22:25 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Android startup, modal, and fullscreen behavior changes need human review because UI/device validation and current CI results remain unverified.
No open issues 🎉
What changed in this PR
Temporarily rolls back Android native edge-to-edge behavior on net11.0 so the implementation and screenshot baselines can be reintroduced together through #39566. The changes align with the stated rollback scope; #32987 remains unresolved intentionally.
Changes:
- Restore previous activity initialization, fullscreen WebView transitions, and modal system-bar behavior.
- Restore edge-to-edge opt-out theme entries and remove dynamic system-bar icon refresh handling.
- Remove the Issue32987 test page and UI tests without changing screenshots or pipelines.
| File | Description |
|---|---|
src/Core/src/Platform/Android/Resources/values/styles.xml |
Restore the default theme’s opt-out entry. |
src/Core/src/Platform/Android/Resources/values/styles-material3.xml |
Restore the Material 3 opt-out entry. |
src/Core/src/Platform/Android/Resources/values/attr.xml |
Restore the opt-out attribute declaration. |
src/Core/src/Platform/Android/MauiWebChromeClient.cs |
Restore fullscreen decor-fitting transitions. |
src/Core/src/Platform/Android/MauiAppCompatActivity.Lifecycle.cs |
Remove configuration-change icon refresh. |
src/Core/src/Platform/Android/MauiAppCompatActivity.cs |
Restore decor-fitting initialization. |
src/Core/src/Handlers/Window/WindowHandler.Android.cs |
Restore API 30+ system-bar initialization. |
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue32987.cs |
Remove native edge-to-edge UI tests. |
src/Controls/tests/TestCases.HostApp/Issues/Issue32987.cs |
Remove the corresponding test page. |
src/Controls/src/Core/Platform/ModalNavigationManager/ModalNavigationManager.Android.cs |
Restore previous modal system-bar setup. |
Review effort: Balanced
Contributor
Author
|
@dalexsoto stamp |
This was referenced Oct 23, 2026
4 tasks
sheiksyedm
added a commit
to Ahamed-Ali/maui
that referenced
this pull request
Oct 24, 2026
Reintroduce the exact changes from dotnet#36226, temporarily reverted by dotnet#39579, alongside the screenshot cropping fix and updated baselines in dotnet#39545. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
Targets
net11.0intentionally. Temporarily reverts #36226, squash commit7763a4136e8068120c7a5bf62dfa7a342efd9ef1, while its Android edge-to-edge implementation and corresponding screenshot baselines are prepared together in #39566.This is the exact inverse of the original ten-file change, with no conflict resolutions or unrelated edits:
SetDecorFitsSystemWindowsactivity initialization and fullscreen WebView transitions.maui_edgetoedge_optouttheme entries.This deliberately restores the earlier Android behavior, including deferring the original transparency, navigation-scrim, and dynamic icon-color improvements until reintroduction. It does not alter screenshots or pipeline configuration. The plan is to stack #39566 on this rollback and reintroduce the implementation with the updated API 30 baselines; this PR does not merge either change.
Validation
git diff --cached --checkdiff <(git diff --binary 7763a4136e8068120c7a5bf62dfa7a342efd9ef1 7763a4136e8068120c7a5bf62dfa7a342efd9ef1^) <(git diff --cached --binary)xmllint --noout src/Core/src/Platform/Android/Resources/values/attr.xml src/Core/src/Platform/Android/Resources/values/styles-material3.xml src/Core/src/Platform/Android/Resources/values/styles.xmldotnet build Microsoft.Maui.BuildTasks.slnf --no-restore --verbosity quiet -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=falsedotnet build src/Controls/src/Core/Controls.Core.csproj --no-restore --framework net11.0-android37.0 --verbosity quietScoped C# whitespace verification also passed:
Limits: Local compilation used installed SDK
11.0.100-preview.6.26359.118, not the repository's11.0.100-rtm.26514.118pin. Initial no-restore builds needed package assets; after restore, the unrestricted build was blocked by unsupported Apple 27.0 targets on this machine's 26.5 workload. The Android-only prerequisite and targeted Android builds passed without changing repository settings. Android UI/device suites and the CI environment were not validated locally; no claim is made that all CI passes.Issues Fixed
Reverts #36226.
Follow-up: #39566. Related original issue: #32987, which is not closed by this temporary rollback.