Skip to content

Conversation

@andredestro
Copy link
Contributor

No description provided.

@andredestro andredestro self-assigned this Nov 11, 2025
@github-actions
Copy link

github-actions bot commented Nov 11, 2025

Released dev build of status-bar with dev version: 8.0.0-dev-2438-20251111T164007.0

Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of annotating the whole methods, can the deprecated calls me moved to new separate private methods and only suppress the new ones with the deprecated code?

Annotating the whole methods can cause that we miss future deprecations.

@andredestro andredestro force-pushed the chore/statusbar-deprecation-warnings branch from 425eef1 to f6ca182 Compare November 11, 2025 16:33
@andredestro andredestro force-pushed the chore/statusbar-deprecation-warnings branch from f6ca182 to 9eeac8b Compare November 11, 2025 16:39
Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only meant to move the the deprecated code for the new deprecations, the old ones are on methods that no longer work on Android 15+, so there is no need. But since you did it, we can keep it that way.

activity is available in all the plugin, so you can call activity.getWindow() from inside the methods when you need the window instead of passing the window to methods such as getStatusBarColorDeprecated

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.

3 participants