- 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
50 lines
1.2 KiB
Java
50 lines
1.2 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.text.TextUtils;
|
|
import androidx.annotation.Nullable;
|
|
|
|
/* loaded from: classes3.dex */
|
|
final class zzbcv extends zzbcw {
|
|
@Nullable
|
|
private static final String zzb(@Nullable String str) {
|
|
if (TextUtils.isEmpty(str)) {
|
|
return str;
|
|
}
|
|
int length = str.length();
|
|
int i = 0;
|
|
int i2 = 0;
|
|
while (i2 < str.length() && str.charAt(i2) == ',') {
|
|
i2++;
|
|
}
|
|
while (length > 0) {
|
|
int i3 = length - 1;
|
|
if (str.charAt(i3) != ',') {
|
|
break;
|
|
}
|
|
length = i3;
|
|
}
|
|
if (length < i2) {
|
|
return null;
|
|
}
|
|
if (i2 != 0) {
|
|
i = i2;
|
|
} else if (length == str.length()) {
|
|
return str;
|
|
}
|
|
return str.substring(i, length);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzbcw
|
|
public final String zza(@Nullable String str, String str2) {
|
|
String zzb = zzb(str);
|
|
String zzb2 = zzb(str2);
|
|
if (TextUtils.isEmpty(zzb)) {
|
|
return zzb2;
|
|
}
|
|
if (TextUtils.isEmpty(zzb2)) {
|
|
return zzb;
|
|
}
|
|
return zzb + "," + zzb2;
|
|
}
|
|
}
|