Files
react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager
Denis Koroskin aeda31428d When addRootView() is called in a background thread, execute it as a generic UIOperation command in UIViewOperationQueue
Summary: public There is really no reason NativeViewHierarchyManager.addRootView() should be performed synchroniously when called from background thread, as long as it is executed before every other command in UIViewOperationQueue, and we can ensure that by putting add view command at the front of the queue. When that happpens, the queue should always be empty anyway, but it's best to be safe.

This eliminates an unnecessary blocking call and should overall make the code simpler and safer (Semaphores can timeout).

Reviewed By: astreet

Differential Revision: D2462680

fb-gh-sync-id: 784ac6573a455019b93628c70992f3830b9d6f1f
2015-11-25 22:15:32 -08:00
..
2015-11-23 09:30:37 -08:00
2015-09-22 11:34:27 -07:00
2015-10-29 10:09:29 -07:00
2015-10-27 13:02:08 -07:00
2015-09-14 18:13:39 +01:00
2015-11-20 08:11:36 -08:00