Skip to content

Fix missing setLeftTopRightBottom method#44033

Closed
mmmoussa wants to merge 1 commit into
facebook:mainfrom
mmmoussa:horizontal-scroll-rtl-position
Closed

Fix missing setLeftTopRightBottom method#44033
mmmoussa wants to merge 1 commit into
facebook:mainfrom
mmmoussa:horizontal-scroll-rtl-position

Conversation

@mmmoussa

Copy link
Copy Markdown
Contributor

Summary:

We were seeing errors due to setLeftTopRightBottom being called without a check for the Android version despite that method being added in Android API level 29. I've replaced it with the older API methods to fix the issue.

This issue originates from #38526

Changelog:

[ANDROID] [FIXED] - Resolved error "No virtual method setLeftTopRightBottom"

Test Plan:

Change is pretty trivial, but we tested it in our production app (Tarteel) for a week and confirmed that the error is resolved.

@facebook-github-bot facebook-github-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 Apr 10, 2024
@mmmoussa

Copy link
Copy Markdown
Contributor Author

@NickGerleman please review

@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Apr 10, 2024
@analysis-bot

Copy link
Copy Markdown
Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 19,385,135 +0
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 22,760,094 +4
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: f7eaf63
Branch: main

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Apr 11, 2024
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@NickGerleman merged this pull request in 08ecdee.

@github-actions

Copy link
Copy Markdown

This pull request was successfully merged by @mmmoussa in 08ecdee.

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

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. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants