BatteryProfileMapFragment$onViewCreated$8$1.smali
.class final Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8$1;
.super Ljava/lang/Object;
# interfaces
.implements Lcom/google/android/gms/tasks/OnSuccessListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8;->onClick(Landroid/view/View;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<TResult:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lcom/google/android/gms/tasks/OnSuccessListener<",
"Landroid/location/Location;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8;
# direct methods
.method constructor <init>(Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8;)V
.registers 2
iput-object p1, p0, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8$1;->a:Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Landroid/location/Location;)V
.registers 9
const/4 v6, 0x4
if-eqz p1, :cond_32
iget-object v0, p0, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8$1;->a:Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8;
const/4 v6, 0x4
iget-object v0, v0, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8;->f:Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment;
new-instance v1, Lcom/google/android/gms/maps/model/LatLng;
invoke-virtual {p1}, Landroid/location/Location;->getLatitude()D
move-result-wide v2
invoke-virtual {p1}, Landroid/location/Location;->getLongitude()D
move-result-wide v4
const/4 v6, 0x7
invoke-direct {v1, v2, v3, v4, v5}, Lcom/google/android/gms/maps/model/LatLng;-><init>(DD)V
sget-object p1, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment;->s:Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$Companion;
const/4 v6, 0x5
iget-object v2, p0, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8$1;->a:Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8;
iget-object v2, v2, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8;->f:Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment;
const/4 v6, 0x5
invoke-static {v2}, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment;->R0(Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment;)Lcom/avast/android/cleaner/batterysaver/db/entity/BatteryLocation;
move-result-object v2
const/4 v6, 0x7
invoke-virtual {v2}, Lcom/avast/android/cleaner/batterysaver/db/entity/BatteryLocation;->g()D
move-result-wide v2
double-to-int v2, v2
const/4 v6, 0x2
invoke-virtual {p1, v2}, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$Companion;->a(I)F
move-result p1
const/4 v6, 0x2
const/4 v2, 0x1
invoke-static {v0, v1, p1, v2}, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment;->Z0(Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment;Lcom/google/android/gms/maps/model/LatLng;FZ)V
:cond_32
const/4 v6, 0x4
return-void
.end method
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
.registers 3
check-cast p1, Landroid/location/Location;
invoke-virtual {p0, p1}, Lcom/avast/android/cleaner/batterysaver/ui/BatteryProfileMapFragment$onViewCreated$8$1;->a(Landroid/location/Location;)V
const/4 v0, 0x5
return-void
.end method