Files
rr3-apk/decompiled-community/sources/com/google/android/gms/measurement/internal/zzt.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

95 lines
3.2 KiB
Java

package com.google.android.gms.measurement.internal;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Pair;
import androidx.annotation.WorkerThread;
import com.facebook.gamingservices.cloudgaming.internal.SDKConstants;
import com.facebook.share.internal.ShareConstants;
import com.mbridge.msdk.MBridgeConstans;
/* loaded from: classes3.dex */
public final class zzt {
private final zzhj zza;
public zzt(zzhj zzhjVar) {
this.zza = zzhjVar;
}
@WorkerThread
public final void zza(String str, Bundle bundle) {
String str2;
this.zza.zzl().zzt();
if (this.zza.zzac()) {
return;
}
if (bundle == null || bundle.isEmpty()) {
str2 = null;
} else {
if (str == null || str.isEmpty()) {
str = "auto";
}
Uri.Builder builder = new Uri.Builder();
builder.path(str);
for (String str3 : bundle.keySet()) {
builder.appendQueryParameter(str3, bundle.getString(str3));
}
str2 = builder.build().toString();
}
if (TextUtils.isEmpty(str2)) {
return;
}
this.zza.zzn().zzr.zza(str2);
this.zza.zzn().zzs.zza(this.zza.zzb().currentTimeMillis());
}
@WorkerThread
public final void zza() {
this.zza.zzl().zzt();
if (zzc()) {
if (zzd()) {
this.zza.zzn().zzr.zza(null);
Bundle bundle = new Bundle();
bundle.putString(ShareConstants.FEED_SOURCE_PARAM, "(not set)");
bundle.putString("medium", "(not set)");
bundle.putString("_cis", SDKConstants.PARAM_INTENT);
bundle.putLong("_cc", 1L);
this.zza.zzp().zzc("auto", "_cmpx", bundle);
} else {
String zza = this.zza.zzn().zzr.zza();
if (TextUtils.isEmpty(zza)) {
this.zza.zzj().zzm().zza("Cache still valid but referrer not found");
} else {
long zza2 = ((this.zza.zzn().zzs.zza() / 3600000) - 1) * 3600000;
Uri parse = Uri.parse(zza);
Bundle bundle2 = new Bundle();
Pair pair = new Pair(parse.getPath(), bundle2);
for (String str : parse.getQueryParameterNames()) {
bundle2.putString(str, parse.getQueryParameter(str));
}
((Bundle) pair.second).putLong("_cc", zza2);
Object obj = pair.first;
this.zza.zzp().zzc(obj == null ? MBridgeConstans.DYNAMIC_VIEW_WX_APP : (String) obj, "_cmp", (Bundle) pair.second);
}
this.zza.zzn().zzr.zza(null);
}
this.zza.zzn().zzs.zza(0L);
}
}
public final void zzb() {
if (zzc() && zzd()) {
this.zza.zzn().zzr.zza(null);
}
}
private final boolean zzc() {
return this.zza.zzn().zzs.zza() > 0;
}
private final boolean zzd() {
return zzc() && this.zza.zzb().currentTimeMillis() - this.zza.zzn().zzs.zza() > this.zza.zzf().zzc(null, zzbh.zzat);
}
}