p$b.smali
.class public final Lcom/airbnb/android/react/maps/p$b;
.super Lcom/google/android/gms/location/LocationCallback;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/airbnb/android/react/maps/p;->activate(Lcom/google/android/gms/maps/LocationSource$OnLocationChangedListener;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Lcom/google/android/gms/maps/LocationSource$OnLocationChangedListener;
# direct methods
.method public constructor <init>(Lcom/google/android/gms/maps/LocationSource$OnLocationChangedListener;)V
.registers 2
iput-object p1, p0, Lcom/airbnb/android/react/maps/p$b;->a:Lcom/google/android/gms/maps/LocationSource$OnLocationChangedListener;
invoke-direct {p0}, Lcom/google/android/gms/location/LocationCallback;-><init>()V
return-void
.end method
# virtual methods
.method public final onLocationResult(Lcom/google/android/gms/location/LocationResult;)V
.registers 4
.line 1
invoke-virtual {p1}, Lcom/google/android/gms/location/LocationResult;->getLocations()Ljava/util/List;
move-result-object p1
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_8
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1a
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/location/Location;
.line 2
iget-object v1, p0, Lcom/airbnb/android/react/maps/p$b;->a:Lcom/google/android/gms/maps/LocationSource$OnLocationChangedListener;
invoke-interface {v1, v0}, Lcom/google/android/gms/maps/LocationSource$OnLocationChangedListener;->onLocationChanged(Landroid/location/Location;)V
goto :goto_8
:cond_1a
return-void
.end method