97 lines
2.2 KiB
Smali
97 lines
2.2 KiB
Smali
.class final Lcom/mbridge/msdk/foundation/tools/ab$2;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/mbridge/msdk/foundation/tools/ab;->y(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/ab$2;->a:Landroid/content/Context;
|
|
|
|
.line 245
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final run()V
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/tools/ab$2;->a:Landroid/content/Context;
|
|
|
|
.line 252
|
|
invoke-static {v0}, Landroid/webkit/WebSettings;->getDefaultUserAgent(Landroid/content/Context;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 257
|
|
:goto_0
|
|
:try_start_1
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/tools/ab;->A()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 258
|
|
invoke-static {v0}, Lcom/mbridge/msdk/foundation/tools/ab;->d(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/tools/ab$2;->a:Landroid/content/Context;
|
|
|
|
.line 259
|
|
invoke-static {v0}, Lcom/mbridge/msdk/foundation/tools/ab;->x(Landroid/content/Context;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_1
|
|
move-exception v0
|
|
|
|
.line 262
|
|
invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:cond_0
|
|
:goto_1
|
|
return-void
|
|
.end method
|