Log timestamp in ReactMarker.logFabricMarker method

Summary:
Ensure we always log a timestamp in ReactMarker.logFabricMarker

changelog: [internal] internal

Reviewed By: ShikaSD

Differential Revision: D34006699

fbshipit-source-id: 79ff1005ba1f0ed44bf319e50a80dbdebd1ec24f
This commit is contained in:
David Vacca
2022-02-09 10:03:34 -08:00
committed by Facebook GitHub Bot
parent 8ee1f832b6
commit eafa5bcb38
@@ -7,6 +7,7 @@
package com.facebook.react.bridge;
import android.os.SystemClock;
import androidx.annotation.Nullable;
import com.facebook.proguard.annotations.DoNotStrip;
import java.util.List;
@@ -91,7 +92,7 @@ public class ReactMarker {
@DoNotStrip
public static void logFabricMarker(
ReactMarkerConstants name, @Nullable String tag, int instanceKey) {
logFabricMarker(name, tag, instanceKey, -1);
logFabricMarker(name, tag, instanceKey, SystemClock.uptimeMillis());
}
@DoNotStrip