Skip to content

Add @Nullable annotations to ViewManager.measure() parameters (#57039)#57039

Closed
javache wants to merge 1 commit into
facebook:mainfrom
javache:export-D107229856
Closed

Add @Nullable annotations to ViewManager.measure() parameters (#57039)#57039
javache wants to merge 1 commit into
facebook:mainfrom
javache:export-D107229856

Conversation

@javache
Copy link
Copy Markdown
Member

@javache javache commented Jun 2, 2026

Summary:

Adds Nullable annotations to the localData, props, and state parameters in ViewManager.java's measure() method to match the nullable Kotlin types (ReadableMap?) from MountingManager.kt.

Changelog: [Android][Changed] Corrected nullability of ViewManager#measure

Differential Revision: D107229856

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 2, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Jun 2, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Jun 2, 2026

@javache has exported this pull request. If you are a Meta employee, you can view the originating Diff in D107229856.

…ok#57039)

Summary:

Adds `Nullable` annotations to the `localData`, `props`, and `state` parameters in `ViewManager.java`'s `measure()` method to match the nullable Kotlin types (`ReadableMap?`) from `MountingManager.kt`.

Changelog: [Android][Changed] Corrected nullability of `ViewManager#measure`

Differential Revision: D107229856
@meta-codesync meta-codesync Bot changed the title Add @Nullable annotations to ViewManager.measure() parameters Add @Nullable annotations to ViewManager.measure() parameters (#57039) Jun 3, 2026
@javache javache force-pushed the export-D107229856 branch from 557d084 to 819100e Compare June 3, 2026 12:14
@meta-codesync meta-codesync Bot closed this in 63683f0 Jun 4, 2026
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @javache in 63683f0

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

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jun 4, 2026
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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants