Skip to content

Use Android 15 TextView API directly - #58725

Open
Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D122183946
Open

Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D122183946

Conversation

@Abbondanzo

Copy link
Copy Markdown
Contributor

Summary:
Use Android 15's TextView.setUseBoundsForWidth API directly instead of resolving and invoking it through reflection. The call remains guarded by the runtime SDK version.

Preserve the shared numeric Android 15 version compatibility shim for builds that compile against older Android SDKs.

Changelog:
[Internal]

Differential Revision: D122183946

Summary:
Use Android 15's `TextView.setUseBoundsForWidth` API directly instead of resolving and invoking it through reflection. The call remains guarded by the runtime SDK version.

Preserve the shared numeric Android 15 version compatibility shim for builds that compile against older Android SDKs.

Changelog:
[Internal]

Differential Revision: D122183946
@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 Sep 28, 2026
@meta-codesync

meta-codesync Bot commented Sep 28, 2026

Copy link
Copy Markdown

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

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

This branch has not been deployed

No deployments
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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants