package com.huawei.hms.support.api; import com.huawei.hms.core.aidl.IMessageEntity; import com.huawei.hms.support.api.client.ApiClient; import com.huawei.hms.support.api.client.Result; import com.huawei.hms.support.api.client.Status; /* loaded from: classes2.dex */ public class ResolvePendingResult extends PendingResultImpl, T> { protected ResolvePendingResult(ApiClient apiClient, String str, IMessageEntity iMessageEntity, Class cls) { super(apiClient, str, iMessageEntity, cls); } public static ResolvePendingResult build(ApiClient apiClient, String str, IMessageEntity iMessageEntity, Class cls) { return new ResolvePendingResult<>(apiClient, str, iMessageEntity, cls); } /* JADX WARN: Multi-variable type inference failed */ public T get() { return (T) ((ResolveResult) await()).getValue(); } /* JADX WARN: Multi-variable type inference failed */ @Override // com.huawei.hms.support.api.PendingResultImpl public /* bridge */ /* synthetic */ Result onComplete(IMessageEntity iMessageEntity) { return onComplete((ResolvePendingResult) iMessageEntity); } @Override // com.huawei.hms.support.api.PendingResultImpl public ResolveResult onComplete(T t) { ResolveResult resolveResult = new ResolveResult<>(t); resolveResult.setStatus(new Status(0)); return resolveResult; } }