- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
26 lines
686 B
Java
26 lines
686 B
Java
package com.helpshift.util;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public abstract class HSTimer {
|
|
public static final Map sourceTimer = new HashMap();
|
|
|
|
public static void setStartTime(String str) {
|
|
sourceTimer.put(str, Long.valueOf(System.currentTimeMillis()));
|
|
}
|
|
|
|
public static long endTimer(String str) {
|
|
long currentTimeMillis = System.currentTimeMillis();
|
|
if (Utils.isEmpty(str)) {
|
|
return -1L;
|
|
}
|
|
Map map = sourceTimer;
|
|
if (map.containsKey(str)) {
|
|
return currentTimeMillis - ((Long) map.remove(str)).longValue();
|
|
}
|
|
return -1L;
|
|
}
|
|
}
|