- 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
75 lines
2.2 KiB
Java
75 lines
2.2 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import java.util.logging.Level;
|
|
import java.util.logging.Logger;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzfve {
|
|
public static String zza(String str) {
|
|
if (zzfum.zza(str)) {
|
|
return null;
|
|
}
|
|
return str;
|
|
}
|
|
|
|
public static String zzb(String str, Object... objArr) {
|
|
int length;
|
|
int length2;
|
|
int indexOf;
|
|
String str2;
|
|
int i = 0;
|
|
int i2 = 0;
|
|
while (true) {
|
|
length = objArr.length;
|
|
if (i2 >= length) {
|
|
break;
|
|
}
|
|
Object obj = objArr[i2];
|
|
if (obj == null) {
|
|
str2 = "null";
|
|
} else {
|
|
try {
|
|
str2 = obj.toString();
|
|
} catch (Exception e) {
|
|
String str3 = obj.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(obj));
|
|
Logger.getLogger("com.google.common.base.Strings").logp(Level.WARNING, "com.google.common.base.Strings", "lenientToString", "Exception during lenientFormat for ".concat(str3), (Throwable) e);
|
|
str2 = "<" + str3 + " threw " + e.getClass().getName() + ">";
|
|
}
|
|
}
|
|
objArr[i2] = str2;
|
|
i2++;
|
|
}
|
|
StringBuilder sb = new StringBuilder(str.length() + (length * 16));
|
|
int i3 = 0;
|
|
while (true) {
|
|
length2 = objArr.length;
|
|
if (i >= length2 || (indexOf = str.indexOf("%s", i3)) == -1) {
|
|
break;
|
|
}
|
|
sb.append((CharSequence) str, i3, indexOf);
|
|
sb.append(objArr[i]);
|
|
i3 = indexOf + 2;
|
|
i++;
|
|
}
|
|
sb.append((CharSequence) str, i3, str.length());
|
|
if (i < length2) {
|
|
sb.append(" [");
|
|
sb.append(objArr[i]);
|
|
for (int i4 = i + 1; i4 < objArr.length; i4++) {
|
|
sb.append(", ");
|
|
sb.append(objArr[i4]);
|
|
}
|
|
sb.append(']');
|
|
}
|
|
return sb.toString();
|
|
}
|
|
|
|
public static String zzc(String str) {
|
|
return str == null ? "" : str;
|
|
}
|
|
|
|
public static boolean zzd(String str) {
|
|
return zzfum.zza(str);
|
|
}
|
|
}
|