LocationServiceImpl$6.smali

.class Lcom/marianhello/bgloc/service/LocationServiceImpl$6;
.super Lcom/marianhello/bgloc/headless/LocationTask;
.source "LocationServiceImpl.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/marianhello/bgloc/service/LocationServiceImpl;->onLocation(Lcom/marianhello/bgloc/data/BackgroundLocation;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/marianhello/bgloc/service/LocationServiceImpl;


# direct methods
.method constructor <init>(Lcom/marianhello/bgloc/service/LocationServiceImpl;Lcom/marianhello/bgloc/data/BackgroundLocation;)V
    .registers 3
    .param p1, "this$0"    # Lcom/marianhello/bgloc/service/LocationServiceImpl;
    .param p2, "location"    # Lcom/marianhello/bgloc/data/BackgroundLocation;

    .line 528
    iput-object p1, p0, Lcom/marianhello/bgloc/service/LocationServiceImpl$6;->this$0:Lcom/marianhello/bgloc/service/LocationServiceImpl;

    invoke-direct {p0, p2}, Lcom/marianhello/bgloc/headless/LocationTask;-><init>(Lcom/marianhello/bgloc/data/BackgroundLocation;)V

    return-void
.end method


# virtual methods
.method public onError(Ljava/lang/String;)V
    .registers 4
    .param p1, "errorMessage"    # Ljava/lang/String;

    .line 531
    iget-object v0, p0, Lcom/marianhello/bgloc/service/LocationServiceImpl$6;->this$0:Lcom/marianhello/bgloc/service/LocationServiceImpl;

    # getter for: Lcom/marianhello/bgloc/service/LocationServiceImpl;->logger:Lorg/slf4j/Logger;
    invoke-static {v0}, Lcom/marianhello/bgloc/service/LocationServiceImpl;->access$700(Lcom/marianhello/bgloc/service/LocationServiceImpl;)Lorg/slf4j/Logger;

    move-result-object v0

    const-string v1, "Location task error: {}"

    invoke-interface {v0, v1, p1}, Lorg/slf4j/Logger;->error(Ljava/lang/String;Ljava/lang/Object;)V

    .line 532
    return-void
.end method

.method public onResult(Ljava/lang/String;)V
    .registers 4
    .param p1, "value"    # Ljava/lang/String;

    .line 536
    iget-object v0, p0, Lcom/marianhello/bgloc/service/LocationServiceImpl$6;->this$0:Lcom/marianhello/bgloc/service/LocationServiceImpl;

    # getter for: Lcom/marianhello/bgloc/service/LocationServiceImpl;->logger:Lorg/slf4j/Logger;
    invoke-static {v0}, Lcom/marianhello/bgloc/service/LocationServiceImpl;->access$700(Lcom/marianhello/bgloc/service/LocationServiceImpl;)Lorg/slf4j/Logger;

    move-result-object v0

    const-string v1, "Location task result: {}"

    invoke-interface {v0, v1, p1}, Lorg/slf4j/Logger;->debug(Ljava/lang/String;Ljava/lang/Object;)V

    .line 537
    return-void
.end method