package com.google.android.gms.measurement.internal; import android.os.Bundle; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes.dex */ public final class zzjy implements Runnable { final long zza; final long zzb; final zzjz zzc; @Override // java.lang.Runnable public final void run() { this.zzc.zza.zzs.zzaz().zzp(new Runnable(this) { // from class: com.google.android.gms.measurement.internal.zzjx public final zzjy zza; @Override // java.lang.Runnable public final void run() { zzjy zzjyVar = this.zza; zzjz zzjzVar = zzjyVar.zzc; long j = zzjyVar.zza; long j2 = zzjyVar.zzb; zzjzVar.zza.zzg(); zzjzVar.zza.zzs.zzay().zzc().zza("Application going to the background"); boolean z = true; zzjzVar.zza.zzs.zzm().zzl.zza(true); Bundle bundle = new Bundle(); if (!zzjzVar.zza.zzs.zzf().zzu()) { zzjzVar.zza.zzb.zzb(j2); if (zzjzVar.zza.zzs.zzf().zzs(null, zzdy.zzaf)) { zzkb zzkbVar = zzjzVar.zza.zzb; long j3 = zzkbVar.zzb; zzkbVar.zzb = j2; bundle.putLong("_et", j2 - j3); zzkz.zzJ(zzjzVar.zza.zzs.zzs().zzj(true), bundle, true); } else { z = false; } zzjzVar.zza.zzb.zzd(false, z, j2); } zzjzVar.zza.zzs.zzq().zzH("auto", "_ab", j, bundle); } { this.zza = this; } }); } /* JADX INFO: Access modifiers changed from: package-private */ public zzjy(zzjz zzjzVar, long j, long j2) { this.zzc = zzjzVar; this.zza = j; this.zzb = j2; } }