mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
7708cdccef
Summary: When a view is rendered with a combination of `overflow: hidden` and `borderRadius: >0`, the `ReactViewGroup` would apply the border radius using Canvas `clipPath`. In Android graphics, clipPath is not an anti-aliased operation and caused aliasing artifacts. Changing the method to a bitmask using the `PorterDuff` method results in the same functionality, but with hardware accelerated antialiasing. https://github.com/facebook/react-native/issues/24486 Changelog: [Android][Change] - Views with overflow: hidden and borderRadius: >0 now render anti-aliased borders. Reviewed By: javache Differential Revision: D38914878 fbshipit-source-id: 45ac7e4aece7a76c4216412175e49d3d73b6f391
Building React Native for Android
See the Building from Source guide on the React Native website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing guide on the React Native website.