Skip to content

Add suppression for deprecated setters and getters#44676

Closed
Abbondanzo wants to merge 1 commit into
facebook:mainfrom
Abbondanzo:export-D57780503
Closed

Add suppression for deprecated setters and getters#44676
Abbondanzo wants to merge 1 commit into
facebook:mainfrom
Abbondanzo:export-D57780503

Conversation

@Abbondanzo
Copy link
Copy Markdown
Contributor

Summary:
Some of the setters and getters in these functions, like getStatusBarColor, have been marked as deprecated in VANILLA_ICE_CREAM. This change suppresses deprecation warnings until we can move to newer alternatives.

Changelog

[Android] [Changed] - Added suppression for deprecated getter/setter usage in StatusBarModule

Differential Revision: D57780503

Summary:
Some of the setters and getters in these functions, like [`getStatusBarColor`](https://developer.android.com/reference/android/view/Window#getStatusBarColor), have been marked as deprecated in [`VANILLA_ICE_CREAM`](https://developer.android.com/reference/android/os/Build.VERSION_CODES#VANILLA_ICE_CREAM). This change suppresses deprecation warnings until we can move to newer alternatives.

## Changelog

[Android] [Changed] - Added suppression for deprecated getter/setter usage in StatusBarModule

Differential Revision: D57780503
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels May 24, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D57780503

@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 19,559,745 +18
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 22,912,941 +5
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: c13790f
Branch: main

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 24, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in ac51dee.

@github-actions
Copy link
Copy Markdown

This pull request was successfully merged by Peter Abbondanzo in ac51dee.

When will my fix make it into a release? | How to file a pick request?

kosmydel pushed a commit to kosmydel/react-native that referenced this pull request Jun 11, 2024
Summary:
Pull Request resolved: facebook#44676

Some of the setters and getters in these functions, like [`getStatusBarColor`](https://developer.android.com/reference/android/view/Window#getStatusBarColor), have been marked as deprecated in [`VANILLA_ICE_CREAM`](https://developer.android.com/reference/android/os/Build.VERSION_CODES#VANILLA_ICE_CREAM). This change suppresses deprecation warnings until we can move to newer alternatives.

## Changelog

[Android] [Changed] - Added suppression for deprecated getter/setter usage in StatusBarModule

Reviewed By: sumkit

Differential Revision: D57780503

fbshipit-source-id: 6201f7a3e597fef420de0f80dd2243bee78bc583
@Abbondanzo Abbondanzo deleted the export-D57780503 branch October 11, 2024 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants