- 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
53 lines
2.1 KiB
Java
53 lines
2.1 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.util.JsonWriter;
|
|
import androidx.core.app.NotificationCompat;
|
|
import com.facebook.share.internal.ShareConstants;
|
|
import com.google.android.gms.common.util.Clock;
|
|
import java.io.IOException;
|
|
import java.io.StringWriter;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzdsj {
|
|
private final Clock zza;
|
|
|
|
public zzdsj(Clock clock) {
|
|
this.zza = clock;
|
|
}
|
|
|
|
public final void zza(List list, String str, String str2, Object... objArr) {
|
|
if (((Boolean) zzben.zza.zze()).booleanValue()) {
|
|
long currentTimeMillis = this.zza.currentTimeMillis();
|
|
StringWriter stringWriter = new StringWriter();
|
|
JsonWriter jsonWriter = new JsonWriter(stringWriter);
|
|
try {
|
|
jsonWriter.beginObject();
|
|
jsonWriter.name("timestamp").value(currentTimeMillis);
|
|
jsonWriter.name(ShareConstants.FEED_SOURCE_PARAM).value(str);
|
|
jsonWriter.name(NotificationCompat.CATEGORY_EVENT).value(str2);
|
|
jsonWriter.name("components").beginArray();
|
|
Iterator it = list.iterator();
|
|
while (it.hasNext()) {
|
|
jsonWriter.value(it.next().toString());
|
|
}
|
|
jsonWriter.endArray();
|
|
jsonWriter.name("params").beginArray();
|
|
int length = objArr.length;
|
|
for (int i = 0; i < length; i++) {
|
|
Object obj = objArr[i];
|
|
jsonWriter.value(obj != null ? obj.toString() : null);
|
|
}
|
|
jsonWriter.endArray();
|
|
jsonWriter.endObject();
|
|
jsonWriter.flush();
|
|
jsonWriter.close();
|
|
} catch (IOException e) {
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzh("unable to log", e);
|
|
}
|
|
com.google.android.gms.ads.internal.util.client.zzo.zzi("AD-DBG ".concat(String.valueOf(stringWriter.toString())));
|
|
}
|
|
}
|
|
}
|