Skip to content

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.
@dsn5ft dsn5ft changed the title Address the still unfixed issues related to setStatusBarColor and setNavigationBarColor warning targeting API level 35 and above [EdgeToEdge] Address the still unfixed issues related to setStatusBarColor and setNavigationBarColor warning targeting API level 35 and above Aug 27, 2025
@drchen drchen closed this in c2051db Aug 29, 2025
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