bt.smali
.class final Lcom/tendcloud/tenddata/bt;
.super Landroid/telephony/PhoneStateListener;
.source "td"
# static fields
.field static final a:J = 0x2bf20L
# instance fields
.field b:J
.field c:J
.field d:I
.field e:I
# direct methods
.method constructor <init>()V
.registers 3
.line 1
invoke-direct {p0}, Landroid/telephony/PhoneStateListener;-><init>()V
const-wide/16 v0, 0x0
.line 2
iput-wide v0, p0, Lcom/tendcloud/tenddata/bt;->b:J
.line 3
iput-wide v0, p0, Lcom/tendcloud/tenddata/bt;->c:J
const/4 v0, 0x0
.line 4
iput v0, p0, Lcom/tendcloud/tenddata/bt;->e:I
return-void
.end method
.method private a()V
.registers 3
.line 1
:try_start_0
sget-object v0, Lcom/tendcloud/tenddata/bn;->a:Landroid/os/Handler;
new-instance v1, Lcom/tendcloud/tenddata/bt$1;
invoke-direct {v1, p0}, Lcom/tendcloud/tenddata/bt$1;-><init>(Lcom/tendcloud/tenddata/bt;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:try_end_a
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_a} :catch_b
goto :goto_f
:catch_b
move-exception v0
.line 2
invoke-static {v0}, Lcom/tendcloud/tenddata/bq;->postSDKError(Ljava/lang/Throwable;)V
:goto_f
return-void
.end method
# virtual methods
.method public onCellLocationChanged(Landroid/telephony/CellLocation;)V
.registers 4
.line 1
:try_start_0
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
const-class v1, Landroid/telephony/gsm/GsmCellLocation;
invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_18
.line 2
check-cast p1, Landroid/telephony/gsm/GsmCellLocation;
.line 3
invoke-virtual {p1}, Landroid/telephony/gsm/GsmCellLocation;->getLac()I
move-result p1
iput p1, p0, Lcom/tendcloud/tenddata/bt;->d:I
.line 4
invoke-direct {p0}, Lcom/tendcloud/tenddata/bt;->a()V
goto :goto_34
.line 5
:cond_18
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
const-class v1, Landroid/telephony/cdma/CdmaCellLocation;
invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_34
.line 6
check-cast p1, Landroid/telephony/cdma/CdmaCellLocation;
.line 7
invoke-virtual {p1}, Landroid/telephony/cdma/CdmaCellLocation;->getNetworkId()I
move-result p1
iput p1, p0, Lcom/tendcloud/tenddata/bt;->d:I
.line 8
invoke-direct {p0}, Lcom/tendcloud/tenddata/bt;->a()V
:try_end_2f
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_2f} :catch_30
goto :goto_34
:catch_30
move-exception p1
.line 9
invoke-static {p1}, Lcom/tendcloud/tenddata/bq;->postSDKError(Ljava/lang/Throwable;)V
:cond_34
:goto_34
return-void
.end method