Skip to content

Revert "[Android] Fix status bar icon contrast with custom colorPrimary" (#36214) - #37719

Draft
sheiksyedm with Copilot wants to merge 1 commit into
mainfrom
copilot/revert-pr-36214
Draft

Revert "[Android] Fix status bar icon contrast with custom colorPrimary" (#36214)#37719
sheiksyedm with Copilot wants to merge 1 commit into
mainfrom
copilot/revert-pr-36214

Conversation

Copilot AI commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

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

This reverts #36214 ("[Android] Fix status bar icon contrast with custom colorPrimary").

That PR changed ConfigureTranslucentSystemBars in src/Core/src/Platform/Android/WindowExtensions.cs to resolve the effective colorPrimary from the current Android theme and use its luminance to decide status bar icon appearance, instead of relying solely on the app's light/dark theme.

This PR reverts WindowExtensions.cs to its pre-#36214 state, restoring the original theme-based logic for AppearanceLightStatusBars/AppearanceLightNavigationBars and removing the TryGetThemeColor/IsLightColor helper methods and related AndroidX.Core.Graphics/AColor usings.

Issues Fixed

Reverts #36214

Co-authored-by: sheiksyedm <23059975+sheiksyedm@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants