Summary: Closes https://github.com/facebook/react-native/pull/14676 Differential Revision: D5301501 Pulled By: javache fbshipit-source-id: e9527031a728f2ccc422ef5664b6b8d613c9583f