b$1.smali

.class final Lsg/bigo/bigohttp/dns/b$1;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lsg/bigo/bigohttp/dns/DNSFetchCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigo/bigohttp/dns/b;
.end annotation

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


# instance fields
.field final synthetic a:Lsg/bigo/bigohttp/d;


# direct methods
.method constructor <init>(Lsg/bigo/bigohttp/d;)V
    .registers 2

    .line 86
    iput-object p1, p0, Lsg/bigo/bigohttp/dns/b$1;->a:Lsg/bigo/bigohttp/d;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onSuccess(Ljava/util/Map;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/util/ArrayList<",
            "Ljava/lang/Integer;",
            ">;>;)V"
        }
    .end annotation

    .line 90
    iget-object v0, p0, Lsg/bigo/bigohttp/dns/b$1;->a:Lsg/bigo/bigohttp/d;

    .line 1091
    iget-object v0, v0, Lsg/bigo/bigohttp/d;->j:Lsg/bigo/bigohttp/dns/IDnsConfig;

    if-nez v0, :cond_7

    return-void

    .line 93
    :cond_7
    invoke-static {}, Lsg/bigo/bigohttp/dns/e;->b()Lsg/bigo/bigohttp/dns/e;

    move-result-object v1

    invoke-interface {v0}, Lsg/bigo/bigohttp/dns/IDnsConfig;->getClientIp()I

    move-result v0

    .line 1520
    iput v0, v1, Lsg/bigo/bigohttp/dns/e;->g:I

    .line 1522
    invoke-static {}, Lsg/bigo/bigohttp/dns/f;->a()Landroid/content/SharedPreferences;

    move-result-object v0

    if-eqz p1, :cond_19

    const/4 v2, 0x1

    goto :goto_1a

    :cond_19
    const/4 v2, 0x0

    :goto_1a
    if-eqz v2, :cond_21

    .line 1526
    iget-object v3, v1, Lsg/bigo/bigohttp/dns/e;->c:Ljava/util/Map;

    invoke-static {p1, v3}, Lsg/bigo/bigohttp/dns/e;->a(Ljava/util/Map;Ljava/util/Map;)V

    :cond_21
    if-eqz v2, :cond_3b

    .line 1536
    invoke-static {v0}, Lsg/bigo/bigohttp/dns/f;->c(Landroid/content/SharedPreferences;)V

    .line 1537
    invoke-static {v0, p1}, Lsg/bigo/bigohttp/dns/f;->a(Landroid/content/SharedPreferences;Ljava/util/Map;)V

    .line 1538
    invoke-static {v0}, Lsg/bigo/bigohttp/dns/f;->e(Landroid/content/SharedPreferences;)V

    .line 1539
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    iput-object p1, v1, Lsg/bigo/bigohttp/dns/e;->f:Ljava/lang/Long;

    .line 1540
    iget-object p1, v1, Lsg/bigo/bigohttp/dns/e;->f:Ljava/lang/Long;

    invoke-static {v0, p1}, Lsg/bigo/bigohttp/dns/f;->a(Landroid/content/SharedPreferences;Ljava/lang/Long;)V

    :cond_3b
    return-void
.end method