h$2.smali

.class final Lsg/bigo/sdk/call/h$2;
.super Landroid/telephony/PhoneStateListener;
.source "SourceFile"


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

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


# instance fields
.field final synthetic a:Lsg/bigo/sdk/call/h;


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

    .line 191
    iput-object p1, p0, Lsg/bigo/sdk/call/h$2;->a:Lsg/bigo/sdk/call/h;

    invoke-direct {p0}, Landroid/telephony/PhoneStateListener;-><init>()V

    return-void
.end method


# virtual methods
.method public final onCallStateChanged(ILjava/lang/String;)V
    .registers 4

    .line 194
    invoke-super {p0, p1, p2}, Landroid/telephony/PhoneStateListener;->onCallStateChanged(ILjava/lang/String;)V

    .line 195
    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p2

    const-string v0, "call2 state changed state="

    invoke-virtual {v0, p2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    const-string v0, "PhoneStateListener"

    invoke-static {v0, p2}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 196
    iget-object p2, p0, Lsg/bigo/sdk/call/h$2;->a:Lsg/bigo/sdk/call/h;

    invoke-static {p2}, Lsg/bigo/sdk/call/h;->a(Lsg/bigo/sdk/call/h;)I

    move-result p2

    iget-object v0, p0, Lsg/bigo/sdk/call/h$2;->a:Lsg/bigo/sdk/call/h;

    invoke-static {v0}, Lsg/bigo/sdk/call/h;->b(Lsg/bigo/sdk/call/h;)I

    move-result v0

    invoke-static {p2, v0}, Ljava/lang/Math;->max(II)I

    move-result p2

    .line 197
    iget-object v0, p0, Lsg/bigo/sdk/call/h$2;->a:Lsg/bigo/sdk/call/h;

    invoke-static {v0, p1}, Lsg/bigo/sdk/call/h;->c(Lsg/bigo/sdk/call/h;I)I

    .line 198
    iget-object p1, p0, Lsg/bigo/sdk/call/h$2;->a:Lsg/bigo/sdk/call/h;

    invoke-static {p1}, Lsg/bigo/sdk/call/h;->a(Lsg/bigo/sdk/call/h;)I

    move-result p1

    iget-object v0, p0, Lsg/bigo/sdk/call/h$2;->a:Lsg/bigo/sdk/call/h;

    invoke-static {v0}, Lsg/bigo/sdk/call/h;->b(Lsg/bigo/sdk/call/h;)I

    move-result v0

    invoke-static {p1, v0}, Ljava/lang/Math;->max(II)I

    move-result p1

    if-eq p1, p2, :cond_3e

    .line 200
    iget-object p2, p0, Lsg/bigo/sdk/call/h$2;->a:Lsg/bigo/sdk/call/h;

    invoke-static {p2, p1}, Lsg/bigo/sdk/call/h;->b(Lsg/bigo/sdk/call/h;I)V

    :cond_3e
    return-void
.end method