b.smali

.class Lcom/baidu/location/f/b;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Ljava/lang/ref/WeakReference;

.field final synthetic b:Lcom/baidu/location/f/a;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method constructor <init>(Lcom/baidu/location/f/a;Ljava/lang/ref/WeakReference;)V
    .registers 3

    iput-object p1, p0, Lcom/baidu/location/f/b;->b:Lcom/baidu/location/f/a;

    iput-object p2, p0, Lcom/baidu/location/f/b;->a:Ljava/lang/ref/WeakReference;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .registers 4

    iget-object v0, p0, Lcom/baidu/location/f/b;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/baidu/location/f/a;

    if-eqz v0, :cond_1b

    invoke-static {v0}, Lcom/baidu/location/f/a;->a(Lcom/baidu/location/f/a;)I

    move-result v1

    const/4 v2, 0x3

    if-ne v1, v2, :cond_1b

    const-string v1, "baidu_location_service"

    const-string v2, "baidu location service force stopped ..."

    invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    invoke-static {v0}, Lcom/baidu/location/f/a;->b(Lcom/baidu/location/f/a;)V

    :cond_1b
    return-void
.end method