mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
4c7576e485
Summary: Fixes #11592 This bug was seen on a Galaxy S4 running Android 4.4.2. On this device, Android's `Layout.getDesiredWidth` method doesn't correctly measure text that contains unicode emoticons. It appears to think the emoticons take up 0 space. Setting ANTI_ALIAS_FLAG in the TextPaint's constructor instead of setting it later with setFlags works around the Android bug. **Test plan (required)** My team uses this fix in our app. Adam Comella Microsoft Corp. Closes https://github.com/facebook/react-native/pull/12690 Differential Revision: D4673649 Pulled By: mkonicek fbshipit-source-id: 535f371281927bfff5d8b42966496bc8daf30045
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.