IdentifierIdClient$1.smali

.class final Lcom/vivo/identifier/IdentifierIdClient$1;
.super Landroid/os/Handler;
.source "IdentifierIdClient.java"


# direct methods
.method constructor <init>(Landroid/os/Looper;)V
    .registers 2

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

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .registers 5

    .prologue
    .line 92
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v1, 0xb

    if-ne v0, v1, :cond_36

    .line 93
    invoke-virtual {p1}, Landroid/os/Message;->getData()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "type"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    .line 94
    invoke-virtual {p1}, Landroid/os/Message;->getData()Landroid/os/Bundle;

    move-result-object v1

    const-string v2, "appid"

    invoke-virtual {v1, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 95
    # getter for: Lcom/vivo/identifier/IdentifierIdClient;->mDatabase:Lcom/vivo/identifier/DataBaseOperation;
    invoke-static {}, Lcom/vivo/identifier/IdentifierIdClient;->access$100()Lcom/vivo/identifier/DataBaseOperation;

    move-result-object v2

    invoke-virtual {v2, v0, v1}, Lcom/vivo/identifier/DataBaseOperation;->query(ILjava/lang/String;)Ljava/lang/String;

    move-result-object v0

    # setter for: Lcom/vivo/identifier/IdentifierIdClient;->queryResult:Ljava/lang/String;
    invoke-static {v0}, Lcom/vivo/identifier/IdentifierIdClient;->access$002(Ljava/lang/String;)Ljava/lang/String;

    .line 96
    # getter for: Lcom/vivo/identifier/IdentifierIdClient;->mLock:Ljava/lang/Object;
    invoke-static {}, Lcom/vivo/identifier/IdentifierIdClient;->access$200()Ljava/lang/Object;

    move-result-object v1

    monitor-enter v1

    .line 97
    :try_start_2a
    # getter for: Lcom/vivo/identifier/IdentifierIdClient;->mLock:Ljava/lang/Object;
    invoke-static {}, Lcom/vivo/identifier/IdentifierIdClient;->access$200()Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->notify()V

    .line 98
    monitor-exit v1

    .line 102
    :goto_32
    return-void

    .line 98
    :catchall_33
    move-exception v0

    monitor-exit v1
    :try_end_35
    .catchall {:try_start_2a .. :try_end_35} :catchall_33

    throw v0

    .line 100
    :cond_36
    const-string v0, "VMS_IDLG_SDK_Client"

    const-string v1, "message type valid"

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

    goto :goto_32
.end method