From 72e665abb4248de46471e2270dfc0a7eab5f1606 Mon Sep 17 00:00:00 2001 From: Dave Miller Date: Thu, 21 Jul 2016 07:29:53 -0700 Subject: [PATCH] Set Event timestamp internally Summary: @public This is pure cleanup so that we can make sure that all events are living in the same time space (currently nano seconds). Reviewed By: foghina Differential Revision: D3593884 --- .../src/main/java/com/facebook/react/flat/FlatViewGroup.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/flat/FlatViewGroup.java b/ReactAndroid/src/main/java/com/facebook/react/flat/FlatViewGroup.java index 0b194195e..45dda6a1c 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/flat/FlatViewGroup.java +++ b/ReactAndroid/src/main/java/com/facebook/react/flat/FlatViewGroup.java @@ -33,7 +33,6 @@ import android.view.animation.Animation; import com.facebook.infer.annotation.Assertions; import com.facebook.react.bridge.ReactContext; import com.facebook.react.bridge.SoftAssertions; -import com.facebook.react.common.SystemClock; import com.facebook.react.touch.OnInterceptTouchEventListener; import com.facebook.react.touch.ReactInterceptingViewGroup; import com.facebook.react.uimanager.PointerEvents; @@ -79,7 +78,7 @@ import com.facebook.react.views.view.ReactClippingViewGroupHelper; ReactContext reactContext = ((ReactContext) view.getContext()); UIManagerModule uiManagerModule = reactContext.getNativeModule(UIManagerModule.class); uiManagerModule.getEventDispatcher().dispatchEvent( - new ImageLoadEvent(reactTag, SystemClock.nanoTime(), imageLoadEvent)); + new ImageLoadEvent(reactTag, imageLoadEvent)); } }