mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert D34149878
Summary: This diff is reverting D34149878 (https://github.com/facebook/react-native/commit/9bc6c0f8a5cb779b9df394893cc097605dea37f6) D34149878 (https://github.com/facebook/react-native/commit/9bc6c0f8a5cb779b9df394893cc097605dea37f6) is making the following tests to fail and this revert diff is either the revert of the blame diff or the revert of the stack of diffs that need to be reverted to revert the blame diff Tests affected: - https://www.internalfb.com/intern/test/281475012591721/ Multisect link: https://www.internalfb.com/intern/testinfra/multisect/725030 Reviewed By: mdvacca Differential Revision: D34163348 fbshipit-source-id: 697b42474aec6168c916c1271678d11ae1c4b749
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1b3581e245
commit
8b24ce6720
+1
-1
@@ -86,7 +86,7 @@ public class ReactEventEmitter implements RCTModernEventEmitter {
|
||||
@Override
|
||||
public void receiveTouches(TouchEvent event) {
|
||||
int reactTag = event.getViewTag();
|
||||
@UIManagerType int uiManagerType = event.getUIManagerType();
|
||||
@UIManagerType int uiManagerType = ViewUtil.getUIManagerType(reactTag);
|
||||
if (uiManagerType == UIManagerType.FABRIC && mFabricEventEmitter != null) {
|
||||
mFabricEventEmitter.receiveTouches(event);
|
||||
} else if (uiManagerType == UIManagerType.DEFAULT && getEventEmitter(reactTag) != null) {
|
||||
|
||||
Reference in New Issue
Block a user