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
This commit is contained in:
parent
8564fc074b
commit
72e665abb4
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue