what-the-bank/sources/com/google/android/gms/internal/clearcut/zzh.java

51 lines
2.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.clearcut;
import android.os.RemoteException;
import android.util.Log;
import com.google.android.gms.clearcut.ClearcutLogger;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.common.api.Result;
import com.google.android.gms.common.api.Status;
import com.google.android.gms.common.api.internal.BaseImplementation;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public final class zzh extends BaseImplementation.ApiMethodImpl<Status, zzj> {
private final com.google.android.gms.clearcut.zze zzao;
@Override // com.google.android.gms.common.api.internal.BasePendingResult
public final /* synthetic */ Result createFailedResult(Status status) {
return status;
}
@Override // com.google.android.gms.common.api.internal.BaseImplementation.ApiMethodImpl
public final /* synthetic */ void doExecute(zzj zzjVar) throws RemoteException {
zzj zzjVar2 = zzjVar;
zzi zziVar = new zzi(this);
try {
com.google.android.gms.clearcut.zze zzeVar = this.zzao;
if (zzeVar.zzt != null && zzeVar.zzaa.zzbjp.length == 0) {
zzeVar.zzaa.zzbjp = zzeVar.zzt.zza();
}
if (zzeVar.zzan != null && zzeVar.zzaa.zzbjw.length == 0) {
zzeVar.zzaa.zzbjw = zzeVar.zzan.zza();
}
zzha zzhaVar = zzeVar.zzaa;
int zzas = zzhaVar.zzas();
byte[] bArr = new byte[zzas];
zzfz.zza(zzhaVar, bArr, 0, zzas);
zzeVar.zzah = bArr;
((zzn) zzjVar2.getService()).zza(zziVar, this.zzao);
} catch (RuntimeException e) {
Log.e("ClearcutLoggerApiImpl", "derived ClearcutLogger.MessageProducer ", e);
setFailedResult(new Status(10, "MessageProducer"));
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public zzh(com.google.android.gms.clearcut.zze zzeVar, GoogleApiClient googleApiClient) {
super(ClearcutLogger.API, googleApiClient);
this.zzao = zzeVar;
}
}