package com.google.android.gms.measurement.internal; import android.os.Bundle; import com.google.android.gms.common.internal.Preconditions; import com.google.android.gms.measurement.api.AppMeasurementSdk; import com.huawei.hms.support.hianalytics.HiAnalyticsConstant; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes.dex */ public final class zzhj implements Runnable { final Bundle zza; final zzia zzb; @Override // java.lang.Runnable public final void run() { zzia zziaVar = this.zzb; Bundle bundle = this.zza; zziaVar.zzg(); zziaVar.zza(); Preconditions.checkNotNull(bundle); String string = bundle.getString("name"); String string2 = bundle.getString("origin"); Preconditions.checkNotEmpty(string); Preconditions.checkNotEmpty(string2); Preconditions.checkNotNull(bundle.get(AppMeasurementSdk.ConditionalUserProperty.VALUE)); if (!zziaVar.zzs.zzJ()) { zziaVar.zzs.zzay().zzj().zza("Conditional property not set since app measurement is disabled"); return; } zzkv zzkvVar = new zzkv(string, bundle.getLong(AppMeasurementSdk.ConditionalUserProperty.TRIGGERED_TIMESTAMP), bundle.get(AppMeasurementSdk.ConditionalUserProperty.VALUE), string2); try { zzat zzz = zziaVar.zzs.zzv().zzz(bundle.getString(HiAnalyticsConstant.BI_KEY_APP_ID), bundle.getString(AppMeasurementSdk.ConditionalUserProperty.TRIGGERED_EVENT_NAME), bundle.getBundle(AppMeasurementSdk.ConditionalUserProperty.TRIGGERED_EVENT_PARAMS), string2, 0L, true, true); zziaVar.zzs.zzt().zzE(new zzab(bundle.getString(HiAnalyticsConstant.BI_KEY_APP_ID), string2, zzkvVar, bundle.getLong(AppMeasurementSdk.ConditionalUserProperty.CREATION_TIMESTAMP), false, bundle.getString(AppMeasurementSdk.ConditionalUserProperty.TRIGGER_EVENT_NAME), zziaVar.zzs.zzv().zzz(bundle.getString(HiAnalyticsConstant.BI_KEY_APP_ID), bundle.getString(AppMeasurementSdk.ConditionalUserProperty.TIMED_OUT_EVENT_NAME), bundle.getBundle(AppMeasurementSdk.ConditionalUserProperty.TIMED_OUT_EVENT_PARAMS), string2, 0L, true, true), bundle.getLong(AppMeasurementSdk.ConditionalUserProperty.TRIGGER_TIMEOUT), zzz, bundle.getLong(AppMeasurementSdk.ConditionalUserProperty.TIME_TO_LIVE), zziaVar.zzs.zzv().zzz(bundle.getString(HiAnalyticsConstant.BI_KEY_APP_ID), bundle.getString(AppMeasurementSdk.ConditionalUserProperty.EXPIRED_EVENT_NAME), bundle.getBundle(AppMeasurementSdk.ConditionalUserProperty.EXPIRED_EVENT_PARAMS), string2, 0L, true, true))); } catch (IllegalArgumentException unused) { } } /* JADX INFO: Access modifiers changed from: package-private */ public zzhj(zzia zziaVar, Bundle bundle) { this.zzb = zziaVar; this.zza = bundle; } }