h$a.smali

.class final Lsg/bigo/sdk/call/ip/h$a;
.super Ljava/lang/Thread;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigo/sdk/call/ip/h;
.end annotation

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


# instance fields
.field a:Z

.field final b:Ljava/lang/Object;

.field final synthetic c:Lsg/bigo/sdk/call/ip/h;


# direct methods
.method constructor <init>(Lsg/bigo/sdk/call/ip/h;)V
    .registers 2

    .line 67
    iput-object p1, p0, Lsg/bigo/sdk/call/ip/h$a;->c:Lsg/bigo/sdk/call/ip/h;

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

    const/4 p1, 0x0

    .line 68
    iput-boolean p1, p0, Lsg/bigo/sdk/call/ip/h$a;->a:Z

    .line 69
    new-instance p1, Ljava/lang/Object;

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

    iput-object p1, p0, Lsg/bigo/sdk/call/ip/h$a;->b:Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 2

    .line 86
    iget-boolean v0, p0, Lsg/bigo/sdk/call/ip/h$a;->a:Z

    if-eqz v0, :cond_5

    return-void

    :cond_5
    const/4 v0, 0x1

    .line 89
    iput-boolean v0, p0, Lsg/bigo/sdk/call/ip/h$a;->a:Z

    .line 90
    invoke-virtual {p0}, Lsg/bigo/sdk/call/ip/h$a;->start()V

    return-void
.end method

.method public final b()V
    .registers 4

    const/4 v0, 0x0

    .line 94
    iput-boolean v0, p0, Lsg/bigo/sdk/call/ip/h$a;->a:Z

    .line 96
    :try_start_3
    invoke-virtual {p0}, Lsg/bigo/sdk/call/ip/h$a;->interrupt()V
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_6} :catch_7

    return-void

    :catch_7
    move-exception v0

    const-string v1, "sdk-call"

    const-string v2, "interrupt call qa thread failed"

    .line 98
    invoke-static {v1, v2, v0}, Lsg/bigo/log/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    return-void
.end method

.method public final run()V
    .registers 5

    .line 73
    :goto_0
    iget-boolean v0, p0, Lsg/bigo/sdk/call/ip/h$a;->a:Z

    if-eqz v0, :cond_1a

    .line 74
    iget-object v0, p0, Lsg/bigo/sdk/call/ip/h$a;->b:Ljava/lang/Object;

    monitor-enter v0

    .line 76
    :try_start_7
    iget-object v1, p0, Lsg/bigo/sdk/call/ip/h$a;->b:Ljava/lang/Object;

    const-wide/16 v2, 0x1f4

    invoke-virtual {v1, v2, v3}, Ljava/lang/Object;->wait(J)V
    :try_end_e
    .catch Ljava/lang/InterruptedException; {:try_start_7 .. :try_end_e} :catch_11
    .catchall {:try_start_7 .. :try_end_e} :catchall_f

    goto :goto_11

    :catchall_f
    move-exception v1

    goto :goto_18

    .line 80
    :catch_11
    :goto_11
    :try_start_11
    monitor-exit v0
    :try_end_12
    .catchall {:try_start_11 .. :try_end_12} :catchall_f

    .line 81
    iget-object v0, p0, Lsg/bigo/sdk/call/ip/h$a;->c:Lsg/bigo/sdk/call/ip/h;

    invoke-virtual {v0}, Lsg/bigo/sdk/call/ip/h;->a()V

    goto :goto_0

    .line 80
    :goto_18
    :try_start_18
    monitor-exit v0
    :try_end_19
    .catchall {:try_start_18 .. :try_end_19} :catchall_f

    throw v1

    :cond_1a
    return-void
.end method