Files
rr3-apk/decompiled-community/sources/com/google/android/gms/measurement/internal/zzmt.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

69 lines
2.3 KiB
Java

package com.google.android.gms.measurement.internal;
import android.app.ActivityManager;
import android.os.Bundle;
import android.text.TextUtils;
import androidx.annotation.VisibleForTesting;
import androidx.annotation.WorkerThread;
/* loaded from: classes3.dex */
final class zzmt {
final /* synthetic */ zzml zza;
public zzmt(zzml zzmlVar) {
this.zza = zzmlVar;
}
@WorkerThread
public final void zza() {
this.zza.zzt();
if (this.zza.zzk().zza(this.zza.zzb().currentTimeMillis())) {
this.zza.zzk().zzg.zza(true);
ActivityManager.RunningAppProcessInfo runningAppProcessInfo = new ActivityManager.RunningAppProcessInfo();
ActivityManager.getMyMemoryState(runningAppProcessInfo);
if (runningAppProcessInfo.importance == 100) {
this.zza.zzj().zzp().zza("Detected application was in foreground");
zzb(this.zza.zzb().currentTimeMillis(), false);
}
}
}
@WorkerThread
public final void zza(long j, boolean z) {
this.zza.zzt();
this.zza.zzab();
if (this.zza.zzk().zza(j)) {
this.zza.zzk().zzg.zza(true);
this.zza.zzg().zzag();
}
this.zza.zzk().zzk.zza(j);
if (this.zza.zzk().zzg.zza()) {
zzb(j, z);
}
}
@VisibleForTesting
@WorkerThread
private final void zzb(long j, boolean z) {
this.zza.zzt();
if (this.zza.zzu.zzac()) {
this.zza.zzk().zzk.zza(j);
this.zza.zzj().zzp().zza("Session started, time", Long.valueOf(this.zza.zzb().elapsedRealtime()));
Long valueOf = Long.valueOf(j / 1000);
this.zza.zzm().zza("auto", "_sid", valueOf, j);
this.zza.zzk().zzl.zza(valueOf.longValue());
this.zza.zzk().zzg.zza(false);
Bundle bundle = new Bundle();
bundle.putLong("_sid", valueOf.longValue());
this.zza.zzm().zza("auto", "_s", j, bundle);
String zza = this.zza.zzk().zzq.zza();
if (TextUtils.isEmpty(zza)) {
return;
}
Bundle bundle2 = new Bundle();
bundle2.putString("_ffr", zza);
this.zza.zzm().zza("auto", "_ssr", j, bundle2);
}
}
}