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

Refactor ShadowCamera to use more real Android code #8519

Merged
merged 1 commit into from Oct 12, 2023

Conversation

copybara-service[bot]
Copy link

Refactor ShadowCamera to use more real Android code

Camera.Parameters and Camera.Size are pure Java classes, yet were reimplemented
using shadow methods in Robolectric. Update the shadows to use as much real
Android code as possible. Also update the shadow APIs to just invoke Android
API methods.

@copybara-service copybara-service bot force-pushed the piper_572018420 branch 2 times, most recently from 9c9693c to 4ad852c Compare October 12, 2023 06:54
Camera.Parameters and Camera.Size are pure Java classes, yet were reimplemented
using shadow methods in Robolectric. Update the shadows to use as much real
Android code as possible. Also update the shadow APIs to just invoke Android
API methods.

PiperOrigin-RevId: 572806961
@copybara-service copybara-service bot merged commit 460db5a into google Oct 12, 2023
@copybara-service copybara-service bot deleted the piper_572018420 branch October 12, 2023 07:26
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.

None yet

1 participant