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:
Dave Miller 2016-07-21 07:29:53 -07:00 committed by Ahmed El-Helw
parent 8564fc074b
commit 72e665abb4
1 changed files with 1 additions and 2 deletions

View File

@ -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));
}
}