VoIPService$16.smali

.class Lim/tpelyyftgw/messenger/voip/VoIPService$16;
.super Ljava/lang/Object;
.source "VoIPService.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/messenger/voip/VoIPService;->startConnectingSound()V
.end annotation

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


# instance fields
.field final synthetic this$0:Lim/tpelyyftgw/messenger/voip/VoIPService;


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

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/messenger/voip/VoIPService;)V
    .registers 2
    .param p1, "this$0"    # Lim/tpelyyftgw/messenger/voip/VoIPService;

    .line 1032
    iput-object p1, p0, Lim/tpelyyftgw/messenger/voip/VoIPService$16;->this$0:Lim/tpelyyftgw/messenger/voip/VoIPService;

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

    return-void
.end method


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

    .line 1035
    sget-object v0, Lim/tpelyyftgw/messenger/voip/VoIPBaseService;->sharedInstance:Lim/tpelyyftgw/messenger/voip/VoIPBaseService;

    if-nez v0, :cond_5

    .line 1036
    return-void

    .line 1037
    :cond_5
    iget-object v0, p0, Lim/tpelyyftgw/messenger/voip/VoIPService$16;->this$0:Lim/tpelyyftgw/messenger/voip/VoIPService;

    iget v0, v0, Lim/tpelyyftgw/messenger/voip/VoIPService;->spPlayID:I

    if-nez v0, :cond_21

    .line 1038
    iget-object v0, p0, Lim/tpelyyftgw/messenger/voip/VoIPService$16;->this$0:Lim/tpelyyftgw/messenger/voip/VoIPService;

    iget-object v1, v0, Lim/tpelyyftgw/messenger/voip/VoIPService;->soundPool:Landroid/media/SoundPool;

    iget-object v2, p0, Lim/tpelyyftgw/messenger/voip/VoIPService$16;->this$0:Lim/tpelyyftgw/messenger/voip/VoIPService;

    iget v2, v2, Lim/tpelyyftgw/messenger/voip/VoIPService;->spConnectingId:I

    const/high16 v3, 0x3f800000    # 1.0f

    const/high16 v4, 0x3f800000    # 1.0f

    const/4 v5, 0x0

    const/4 v6, -0x1

    const/high16 v7, 0x3f800000    # 1.0f

    invoke-virtual/range {v1 .. v7}, Landroid/media/SoundPool;->play(IFFIIF)I

    move-result v1

    iput v1, v0, Lim/tpelyyftgw/messenger/voip/VoIPService;->spPlayID:I

    .line 1039
    :cond_21
    iget-object v0, p0, Lim/tpelyyftgw/messenger/voip/VoIPService$16;->this$0:Lim/tpelyyftgw/messenger/voip/VoIPService;

    iget v0, v0, Lim/tpelyyftgw/messenger/voip/VoIPService;->spPlayID:I

    if-nez v0, :cond_2d

    .line 1040
    const-wide/16 v0, 0x64

    invoke-static {p0, v0, v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->runOnUIThread(Ljava/lang/Runnable;J)V

    goto :goto_32

    .line 1042
    :cond_2d
    iget-object v0, p0, Lim/tpelyyftgw/messenger/voip/VoIPService$16;->this$0:Lim/tpelyyftgw/messenger/voip/VoIPService;

    const/4 v1, 0x0

    iput-object v1, v0, Lim/tpelyyftgw/messenger/voip/VoIPService;->connectingSoundRunnable:Ljava/lang/Runnable;

    .line 1043
    :goto_32
    return-void
.end method