Content-Length: 235383 | pFad | https://github.com/robolectric/robolectric/pull/9325

50 Add support for RangingResult.Builder in ShadowRangingResult for V. by copybara-service[bot] · Pull Request #9325 · robolectric/robolectric · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for RangingResult.Builder in ShadowRangingResult for V. #9325

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

copybara-service[bot]
Copy link

Add support for RangingResult.Builder in ShadowRangingResult for V.

In U and below, RangingResult had a large constructor in android.
Robolectric created a builder for this in the shadow. In Android V,
this code now has a builder in the Android code and no longer has a
constructor available. Thus, this change keeps the shadow's builder
and then builds it using the builder in Android. It's not available
for direct usage, so reflection is used to access it.

@copybara-service copybara-service bot force-pushed the piper_651458525 branch 3 times, most recently from 9466277 to ad6d039 Compare July 18, 2024 18:23
In U and below, RangingResult had a large constructor in android.
Robolectric created a builder for this in the shadow. In Android V,
this code now has a builder in the Android code and no longer has a
constructor available. Thus, this change keeps the shadow's builder
and then builds it using the builder in Android. It's not available
for direct usage, so reflection is used to access it.

PiperOrigin-RevId: 653699509
@copybara-service copybara-service bot merged commit d1937fc into google Jul 18, 2024
@copybara-service copybara-service bot deleted the piper_651458525 branch July 18, 2024 18:40
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.

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/robolectric/robolectric/pull/9325

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy