- 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
68 lines
2.5 KiB
Java
68 lines
2.5 KiB
Java
package com.google.android.gms.measurement.internal;
|
|
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
import java.io.ByteArrayInputStream;
|
|
import java.io.ByteArrayOutputStream;
|
|
import java.io.IOException;
|
|
import java.io.ObjectInputStream;
|
|
import java.io.ObjectOutputStream;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzkq {
|
|
public static Object zza(Object obj) {
|
|
ObjectInputStream objectInputStream;
|
|
ObjectOutputStream objectOutputStream;
|
|
try {
|
|
if (obj == null) {
|
|
return null;
|
|
}
|
|
try {
|
|
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
|
|
objectOutputStream = new ObjectOutputStream(byteArrayOutputStream);
|
|
try {
|
|
objectOutputStream.writeObject(obj);
|
|
objectOutputStream.flush();
|
|
objectInputStream = new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray()));
|
|
try {
|
|
Object readObject = objectInputStream.readObject();
|
|
objectOutputStream.close();
|
|
objectInputStream.close();
|
|
return readObject;
|
|
} catch (Throwable th) {
|
|
th = th;
|
|
if (objectOutputStream != null) {
|
|
objectOutputStream.close();
|
|
}
|
|
if (objectInputStream != null) {
|
|
objectInputStream.close();
|
|
}
|
|
throw th;
|
|
}
|
|
} catch (Throwable th2) {
|
|
th = th2;
|
|
objectInputStream = null;
|
|
}
|
|
} catch (Throwable th3) {
|
|
th = th3;
|
|
objectInputStream = null;
|
|
objectOutputStream = null;
|
|
}
|
|
} catch (IOException | ClassNotFoundException unused) {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public static String zza(String str, String[] strArr, String[] strArr2) {
|
|
Preconditions.checkNotNull(strArr);
|
|
Preconditions.checkNotNull(strArr2);
|
|
int min = Math.min(strArr.length, strArr2.length);
|
|
for (int i = 0; i < min; i++) {
|
|
String str2 = strArr[i];
|
|
if ((str == null && str2 == null) || (str != null && str.equals(str2))) {
|
|
return strArr2[i];
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
}
|