Robolectric 4.12.2 is a minor release that fixes several issues, primarily related to HW rendering in native graphics.
HW rendering fixes:
The system property robolectric.screenshot.hwrdr.native was renamed torobolectric.pixelCopyRenderMode. In order to use HW rendering with PixelCopy, you must set the robolectric.pixelCopyRenderMode=hardware system property: 7307dc20a438d042b582fb896a2793fd149152ea
Fixed an issue with rendering alpha transparency: 7307dc20a438d042b582fb896a2793fd149152ea
Fixed an issue using HW rendering on Activities that are not present in Manifests: #8982, 251087870f065ca44a3d6098d9864af89806ba19
Fixed an issue with View drawing cache preventing rendering: 30dc20355c3cedbe29aec0225a77111e2a745461
Fixed an issue with HW rendering on Mac: 1ae1478ccd0d9bcbc9d654ded977e1ac359ae11e
Other fixes:
Fixed shadowOf compilation issues for older SDK levels.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps org.robolectric:robolectric from 4.12.1 to 4.12.2.
Release notes
Sourced from org.robolectric:robolectric's releases.
Commits
98e89de
Bump version to 4.12.2.5554acd
Create TimeoutRule as replacement for junit Timeout issue#382934bcd21
Improve Exception handling in SandboxTestRunnerdc4f07d
Force ordering on MemoryLeaksTest to make it deterministic.de3993b
Fixes memory leak issue in ThreadedRenderer.faf6d00
Don't offset pixel copy roots by location in window2510878
Set FLAG_HARDWARE_ACCELERATED in ShadowPackageManger.addActivityIfNotPresent1ae1478
Bump nativeruntime-dist-compat to 1.0.10bc89af7
Reuse HardwareRenderer objects when taking HW screenshots7264a24
Fix SDK compat issues in 4.12Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show