36 lines
941 B
Java
36 lines
941 B
Java
package com.huawei.hms.hatool;
|
|
|
|
import android.content.Context;
|
|
import java.util.LinkedHashMap;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class HmsHiAnalyticsUtils {
|
|
public static void enableLog() {
|
|
c.a();
|
|
}
|
|
|
|
public static boolean getInitFlag() {
|
|
return a.b();
|
|
}
|
|
|
|
public static void init(Context context, boolean z, boolean z2, boolean z3, String str, String str2) {
|
|
new b(context).a(z).c(z2).b(z3).a(0, str).a(1, str).a(str2).a();
|
|
}
|
|
|
|
public static void onEvent(Context context, String str, String str2) {
|
|
a.a(context, str, str2);
|
|
}
|
|
|
|
public static void onReport() {
|
|
a.c();
|
|
}
|
|
|
|
public static void onStreamEvent(int i, String str, LinkedHashMap<String, String> linkedHashMap) {
|
|
a.b(i, str, linkedHashMap);
|
|
}
|
|
|
|
public static void onEvent(int i, String str, LinkedHashMap<String, String> linkedHashMap) {
|
|
a.a(i, str, linkedHashMap);
|
|
}
|
|
}
|