what-the-bank/sources/com/huawei/hms/support/hianalytics/HiAnalyticsBase.java

29 lines
1.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.huawei.hms.support.hianalytics;
import android.content.Context;
import android.text.TextUtils;
import com.huawei.hms.support.hianalytics.HiAnalyticsConstant;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes2.dex */
public class HiAnalyticsBase {
/* JADX INFO: Access modifiers changed from: protected */
public static Map<String, String> getMapForBi(Context context, String str) {
HashMap hashMap = new HashMap();
if (context != null && !TextUtils.isEmpty(str)) {
String[] split = str.split("\\.");
if (split.length >= 2) {
String str2 = split[0];
String str3 = split[1];
hashMap.put("service", str2);
hashMap.put("apiName", str3);
hashMap.put("package", context.getPackageName());
hashMap.put(HiAnalyticsConstant.HaKey.BI_KEY_BASE_VERSION, "6.11.0.302");
hashMap.put("callTime", String.valueOf(System.currentTimeMillis()));
}
}
return hashMap;
}
}