Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Fixing view highlighting on Android P #656

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shashachu
Copy link

Fixes #648

clipOutRect wasn't the proper API to use in this case, so changed to use save and restore.

Based on this SO answer: https://stackoverflow.com/questions/50231950/what-is-the-best-alternative-to-canvas-cliprect-with-region-op-replace/50247323#50247323

@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@shashachu
Copy link
Author

@jasta is this library still being maintained? Would appreciate this PR getting merged so we can stop using a locally-built stetho version.

@obsantos
Copy link

Can this be merged please?

Copy link

@fanky10 fanky10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

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

Successfully merging this pull request may close these issues.

Android P + Stetho 1.5.1 - View highlighting not working
4 participants