what-the-bank/sources/com/google/android/gms/internal/location/zzq.java

27 lines
838 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.location;
import android.location.Location;
import com.google.android.gms.common.api.Status;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicReference;
/* loaded from: classes2.dex */
final class zzq extends zzan {
final AtomicReference zza;
final CountDownLatch zzb;
/* JADX INFO: Access modifiers changed from: package-private */
public zzq(zzz zzzVar, AtomicReference atomicReference, CountDownLatch countDownLatch) {
this.zza = atomicReference;
this.zzb = countDownLatch;
}
@Override // com.google.android.gms.internal.location.zzao
public final void zzb(Status status, Location location) {
if (status.isSuccess()) {
this.zza.set(location);
}
this.zzb.countDown();
}
}