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

36 lines
1.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.location;
import android.os.RemoteException;
import com.google.android.gms.common.api.Status;
import com.google.android.gms.location.LocationAvailability;
import com.google.android.gms.location.LocationCallback;
import com.google.android.gms.location.LocationResult;
import com.google.android.gms.tasks.OnTokenCanceledListener;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public final class zzau extends LocationCallback {
final zzao zza;
final OnTokenCanceledListener zzb;
@Override // com.google.android.gms.location.LocationCallback
public final void onLocationAvailability(LocationAvailability locationAvailability) {
}
@Override // com.google.android.gms.location.LocationCallback
public final void onLocationResult(LocationResult locationResult) {
try {
this.zza.zzb(Status.RESULT_SUCCESS, locationResult.getLastLocation());
this.zzb.onCanceled();
} catch (RemoteException e) {
throw new RuntimeException(e);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public zzau(zzbe zzbeVar, zzao zzaoVar, OnTokenCanceledListener onTokenCanceledListener) {
this.zza = zzaoVar;
this.zzb = onTokenCanceledListener;
}
}