.class Lcom/moji/location/worker/IPLocationWorker$MyHandler;
.super Landroid/os/Handler;
.source "IPLocationWorker.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/location/worker/IPLocationWorker;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "MyHandler"
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/location/worker/IPLocationWorker;


# direct methods
.method public constructor <init>(Lcom/moji/location/worker/IPLocationWorker;Landroid/os/Looper;)V
    .locals 0

    .line 154
    iput-object p1, p0, Lcom/moji/location/worker/IPLocationWorker$MyHandler;->a:Lcom/moji/location/worker/IPLocationWorker;

    .line 155
    invoke-direct {p0, p2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 1

    .line 160
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 161
    iget-object v0, p0, Lcom/moji/location/worker/IPLocationWorker$MyHandler;->a:Lcom/moji/location/worker/IPLocationWorker;

    invoke-static {v0}, Lcom/moji/location/worker/IPLocationWorker;->c(Lcom/moji/location/worker/IPLocationWorker;)Lcom/moji/location/worker/AbsLocationWorker$AbsMJLocationListener;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    if-eqz v0, :cond_0

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    instance-of v0, v0, Lcom/moji/location/entity/MJLocation;

    if-eqz v0, :cond_0

    .line 162
    iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast p1, Lcom/moji/location/entity/MJLocation;

    .line 163
    iget-object v0, p0, Lcom/moji/location/worker/IPLocationWorker$MyHandler;->a:Lcom/moji/location/worker/IPLocationWorker;

    invoke-static {v0}, Lcom/moji/location/worker/IPLocationWorker;->c(Lcom/moji/location/worker/IPLocationWorker;)Lcom/moji/location/worker/AbsLocationWorker$AbsMJLocationListener;

    move-result-object v0

    invoke-interface {v0, p1}, Lcom/moji/location/worker/AbsLocationWorker$AbsMJLocationListener;->a(Ljava/lang/Object;)V

    :cond_0
    return-void
.end method
