170 lines
4.8 KiB
Smali
170 lines
4.8 KiB
Smali
.class final Lcom/mbridge/msdk/foundation/tools/f$1;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/mbridge/msdk/foundation/tools/f;->a(Landroid/content/Context;)V
|
|
.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/f$1;->a:Landroid/content/Context;
|
|
|
|
.line 65
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final run()V
|
|
.locals 4
|
|
|
|
const-string v0, "DomainSameDiTool"
|
|
|
|
.line 68
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/authoritycontroller/c;->j()Lcom/mbridge/msdk/foundation/controller/authoritycontroller/c;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "authority_device_id"
|
|
|
|
invoke-virtual {v1, v2}, Lcom/mbridge/msdk/foundation/controller/authoritycontroller/c;->c(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 69
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/authoritycontroller/b;->a()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/mbridge/msdk/foundation/tools/f$1;->a:Landroid/content/Context;
|
|
|
|
.line 72
|
|
invoke-static {v1}, Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;->getAdvertisingIdInfo(Landroid/content/Context;)Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;
|
|
|
|
move-result-object v1
|
|
|
|
.line 73
|
|
invoke-virtual {v1}, Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;->getId()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Lcom/mbridge/msdk/foundation/tools/f;->a(Ljava/lang/String;)V
|
|
|
|
.line 74
|
|
invoke-virtual {v1}, Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;->isLimitAdTrackingEnabled()Z
|
|
|
|
move-result v2
|
|
|
|
sput v2, Lcom/mbridge/msdk/foundation/tools/f;->d:I
|
|
|
|
iget-object v2, p0, Lcom/mbridge/msdk/foundation/tools/f$1;->a:Landroid/content/Context;
|
|
|
|
.line 75
|
|
invoke-virtual {v1}, Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;->getId()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
sget v3, Lcom/mbridge/msdk/foundation/tools/f;->d:I
|
|
|
|
invoke-static {v2, v1, v3}, Lcom/mbridge/msdk/foundation/tools/f;->a(Landroid/content/Context;Ljava/lang/String;I)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 88
|
|
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
const-string v1, "GET ADID ERROR TRY TO GET FROM GOOGLE PLAY APP"
|
|
|
|
.line 77
|
|
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 80
|
|
:try_start_1
|
|
new-instance v1, Lcom/mbridge/msdk/foundation/tools/b;
|
|
|
|
invoke-direct {v1}, Lcom/mbridge/msdk/foundation/tools/b;-><init>()V
|
|
|
|
iget-object v2, p0, Lcom/mbridge/msdk/foundation/tools/f$1;->a:Landroid/content/Context;
|
|
|
|
invoke-virtual {v1, v2}, Lcom/mbridge/msdk/foundation/tools/b;->a(Landroid/content/Context;)Lcom/mbridge/msdk/foundation/tools/b$a;
|
|
|
|
move-result-object v1
|
|
|
|
.line 81
|
|
invoke-virtual {v1}, Lcom/mbridge/msdk/foundation/tools/b$a;->a()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Lcom/mbridge/msdk/foundation/tools/f;->a(Ljava/lang/String;)V
|
|
|
|
.line 82
|
|
invoke-virtual {v1}, Lcom/mbridge/msdk/foundation/tools/b$a;->b()Z
|
|
|
|
move-result v2
|
|
|
|
sput v2, Lcom/mbridge/msdk/foundation/tools/f;->d:I
|
|
|
|
iget-object v2, p0, Lcom/mbridge/msdk/foundation/tools/f$1;->a:Landroid/content/Context;
|
|
|
|
.line 83
|
|
invoke-virtual {v1}, Lcom/mbridge/msdk/foundation/tools/b$a;->a()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
sget v3, Lcom/mbridge/msdk/foundation/tools/f;->d:I
|
|
|
|
invoke-static {v2, v1, v3}, Lcom/mbridge/msdk/foundation/tools/f;->a(Landroid/content/Context;Ljava/lang/String;I)V
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
goto :goto_0
|
|
|
|
:catch_1
|
|
const-string v1, "GET ADID FROM GOOGLE PLAY APP ERROR"
|
|
|
|
.line 85
|
|
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/af;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
:goto_0
|
|
return-void
|
|
.end method
|