Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzbcv.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

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;
}
}