Repository navigation
[net11] [Revert] [Android] Enable native edge-to-edge and fix dynamic system bar icon colors - #39733
praveenkumarkarunanithi wants to merge 1 commit into
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 39733Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39733" |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
PR Test Gate
|
| // is always enabled and must not be reverted when exiting fullscreen video. | ||
| if (OperatingSystem.IsAndroidVersionAtLeast(30)) | ||
| { | ||
| WindowCompat.SetDecorFitsSystemWindows(context.Window, true); |
There was a problem hiding this comment.
[major] Logic and Correctness Verification - Exiting fullscreen changes the activity's layout mode instead of restoring it. MauiAppCompatActivity.OnCreate still sets SetDecorFitsSystemWindows(Window, false), but this call and the API 19-29 branch set it to true. On Android 30-34, open and exit a fullscreen WebView video on a page using SafeAreaEdges.None: content that previously extended behind the system bars becomes constrained inside them. Template activities handle orientation changes without recreation, and neither OnConfigurationChanged nor WindowHandler restores the flag, so the layout change persists after playback. Keep the pre-video decor-fitting mode rather than unconditionally enabling it.
|
Closed this PR because a revert PR has been created. #39748 |
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
Revert the native Android edge-to-edge implementation from #36226, reintroduced by #39545, because it changes previously working modal keyboard-resize behavior and causes Android UI test failures.
This restores the previous activity and modal window configuration, fullscreen WebView transitions, system-bar initialization, and edge-to-edge opt-out theme entries. The associated Issue32987 sample and tests are removed.
Issues Fixed
Reverts #36226.
Addresses the modal keyboard-resize regression affecting the #27242 test scenario in net 11 branch.