Skip to content

Address the still unfixed issues related to setStatusBarColor and setNavigationBarColor warning targeting API level 35 and above #4883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SMH17
Copy link

@SMH17 SMH17 commented Jul 25, 2025

Since API 35 setStatusBarColor() is deprecated and not working anymore, setNavigationBarColor() doesn't affect gesture navigation and nav bar is set to match window background.
If static code analysis in Google Play Store platform detects such calls done in the code of apps targeting API 35 and newer, it generates a warning (that could have also consequences on app quality metrics).

This update enwraps such calls in a conditional check that ensures that they aren't done in Android API 35 and above.

Related discussions #4626 , #4507 and #10304.

@SMH17 SMH17 changed the title Address the still unfixed issue #4626 that causes deprecation warning targeting API level 35 and above Address the still unfixed issues related to deprecation warning targeting API level 35 and above Jul 25, 2025
@SMH17 SMH17 changed the title Address the still unfixed issues related to deprecation warning targeting API level 35 and above Address the still unfixed issues related to setStatusBarColor warning targeting API level 35 and above Jul 25, 2025
@SMH17 SMH17 changed the title Address the still unfixed issues related to setStatusBarColor warning targeting API level 35 and above Address the still unfixed issues related to setStatusBarColor and setNavigationBarColor warning targeting API level 35 and above Jul 26, 2025
…NavigationBarColor warning targeting API level 35 and above.
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