mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-19 21:29:36 +08:00
Summary: I'm trying to fix DialogModule crashes we have in production: #6228 In this PR I'm fixing the following problem: The fragment manager methods should be called only from the foreground. Now dismissExisting is protected by the mIsForeground variable as well as showNewAlert method. [ANDROID] [Fixed] DialogModule - Race condition in dialog module fixed. Pull Request resolved: https://github.com/facebook/react-native/pull/19332 Reviewed By: mdvacca Differential Revision: D13804542 Pulled By: hramos fbshipit-source-id: 9d59c8eaad49e2d3f141e255467627d411ae8797