QHDialog.smali

.class public Lcom/qihoo/util/QHDialog;
.super Ljava/lang/Object;
.source "SourceFile"


# direct methods
.method public constructor <init>()V
    .registers 1

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

    return-void
.end method

.method public static showDialog(Landroid/content/Context;Ljava/lang/String;)V
    .registers 6

    .prologue
    .line 13
    new-instance v1, Ljava/lang/Thread;

    new-instance v0, Lcom/qihoo/util/ᵢˋ;

    invoke-direct {v0, p0, p1}, Lcom/qihoo/util/ᵢˋ;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    invoke-direct {v1, v0}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 35
    monitor-enter v1

    .line 37
    :try_start_b
    invoke-virtual {v1}, Ljava/lang/Thread;->start()V

    .line 38
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x13

    if-lt v0, v2, :cond_19

    .line 39
    invoke-virtual {v1}, Ljava/lang/Object;->wait()V
    :try_end_17
    .catch Ljava/lang/InterruptedException; {:try_start_b .. :try_end_17} :catch_1f
    .catchall {:try_start_b .. :try_end_17} :catchall_21

    .line 44
    :goto_17
    :try_start_17
    monitor-exit v1
    :try_end_18
    .catchall {:try_start_17 .. :try_end_18} :catchall_21

    return-void

    .line 41
    :cond_19
    const-wide/16 v2, 0xbb8

    :try_start_1b
    invoke-static {v2, v3}, Ljava/lang/Thread;->sleep(J)V
    :try_end_1e
    .catch Ljava/lang/InterruptedException; {:try_start_1b .. :try_end_1e} :catch_1f
    .catchall {:try_start_1b .. :try_end_1e} :catchall_21

    goto :goto_17

    :catch_1f
    move-exception v0

    goto :goto_17

    .line 44
    :catchall_21
    move-exception v0

    :try_start_22
    monitor-exit v1
    :try_end_23
    .catchall {:try_start_22 .. :try_end_23} :catchall_21

    throw v0
.end method