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 takeScreenshot and Bitmap.writeToTestStorage APIs. #1106

Merged
merged 1 commit into from
Sep 25, 2021

Conversation

copybara-service[bot]
Copy link

Add takeScreenshot and Bitmap.writeToTestStorage APIs.

Also inline and remove the HardwareRendererCompat.enableDrawingIfNecessary API.
This API had confusing semantics and did not add much value.

Also refactor forceRedraw to return a Future, to be able to chain them together.

@google-cla google-cla bot added the cla: yes label Sep 17, 2021
@copybara-service copybara-service bot force-pushed the piper_397205336 branch 2 times, most recently from 0e70045 to 39bd809 Compare September 25, 2021 00:50
Also inline and remove the HardwareRendererCompat.enableDrawingIfNecessary API.
This API had confusing semantics and did not add much value.

Also refactor forceRedraw to return a Future, to be able to chain them together.

PiperOrigin-RevId: 398851486
@yogurtearl
Copy link
Contributor

Do the new APIs work on API 30/31 with targetSdk 31? :) ☞ #818

@brettchabot
Copy link
Collaborator

Yeah thats the whole point of TestStorage . The missing piece at this point is good gradle/Studio integration, but I hope that will come soon.

@adazh to keep me honest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants