Files
rr3-apk/smali_classes4/com/mbridge/msdk/foundation/tools/ab$3.smali
supermegamestre 4bbd74a497 First Upload
Just the APK
Force update disabled, will only work offline.
2026-01-26 00:26:29 -03:00

156 lines
3.3 KiB
Smali

.class final Lcom/mbridge/msdk/foundation/tools/ab$3;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/foundation/tools/ab;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic a:Landroid/content/Context;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/foundation/tools/ab$3;->a:Landroid/content/Context;
.line 487
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 4
.annotation build Landroid/annotation/SuppressLint;
value = {
"MissingPermission"
}
.end annotation
const/4 v0, 0x0
:try_start_0
iget-object v1, p0, Lcom/mbridge/msdk/foundation/tools/ab$3;->a:Landroid/content/Context;
const-string v2, "connectivity"
.line 492
invoke-virtual {v1, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/net/ConnectivityManager;
if-nez v1, :cond_0
return-void
.line 496
:cond_0
sget-boolean v2, Lcom/mbridge/msdk/foundation/same/a;->z:Z
if-eqz v2, :cond_4
.line 498
invoke-virtual {v1}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
move-result-object v1
if-nez v1, :cond_1
.line 500
invoke-static {v0}, Lcom/mbridge/msdk/foundation/tools/ab;->d(I)I
return-void
:catch_0
move-exception v1
goto :goto_0
.line 503
:cond_1
invoke-virtual {v1}, Landroid/net/NetworkInfo;->getType()I
move-result v1
const/4 v2, 0x1
if-ne v1, v2, :cond_2
const/16 v1, 0x9
.line 504
invoke-static {v1}, Lcom/mbridge/msdk/foundation/tools/ab;->d(I)I
return-void
:cond_2
iget-object v1, p0, Lcom/mbridge/msdk/foundation/tools/ab$3;->a:Landroid/content/Context;
const-string v2, "phone"
.line 507
invoke-virtual {v1, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/telephony/TelephonyManager;
if-nez v1, :cond_3
.line 509
invoke-static {v0}, Lcom/mbridge/msdk/foundation/tools/ab;->d(I)I
return-void
.line 512
:cond_3
invoke-virtual {v1}, Landroid/telephony/TelephonyManager;->getNetworkType()I
move-result v1
invoke-static {v1}, Lcom/mbridge/msdk/foundation/tools/ab;->b(I)I
move-result v1
invoke-static {v1}, Lcom/mbridge/msdk/foundation/tools/ab;->d(I)I
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_1
:goto_0
const-string v2, "SameDiTool"
.line 515
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v3
invoke-static {v2, v3, v1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
.line 516
invoke-static {v0}, Lcom/mbridge/msdk/foundation/tools/ab;->d(I)I
:cond_4
:goto_1
return-void
.end method