NetworkReceiver$1.smali

.class public final Lsg/bigo/bigohttp/stat/NetworkReceiver$1;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigo/bigohttp/stat/NetworkReceiver;
.end annotation

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


# instance fields
.field final synthetic a:Landroid/content/Context;

.field final synthetic b:Lsg/bigo/bigohttp/stat/NetworkReceiver;


# direct methods
.method public constructor <init>(Lsg/bigo/bigohttp/stat/NetworkReceiver;Landroid/content/Context;)V
    .registers 3

    .line 23
    iput-object p1, p0, Lsg/bigo/bigohttp/stat/NetworkReceiver$1;->b:Lsg/bigo/bigohttp/stat/NetworkReceiver;

    iput-object p2, p0, Lsg/bigo/bigohttp/stat/NetworkReceiver$1;->a:Landroid/content/Context;

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

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 4

    .line 27
    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    const-string v1, "android.net.conn.CONNECTIVITY_CHANGE"

    .line 28
    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 29
    iget-object v1, p0, Lsg/bigo/bigohttp/stat/NetworkReceiver$1;->a:Landroid/content/Context;

    iget-object v2, p0, Lsg/bigo/bigohttp/stat/NetworkReceiver$1;->b:Lsg/bigo/bigohttp/stat/NetworkReceiver;

    invoke-virtual {v1, v2, v0}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    .line 31
    iget-object v0, p0, Lsg/bigo/bigohttp/stat/NetworkReceiver$1;->b:Lsg/bigo/bigohttp/stat/NetworkReceiver;

    invoke-static {}, Lsg/bigo/bigohttp/utils/e;->a()Z

    move-result v1

    invoke-static {v0, v1}, Lsg/bigo/bigohttp/stat/NetworkReceiver;->a(Lsg/bigo/bigohttp/stat/NetworkReceiver;Z)Z

    .line 32
    iget-object v0, p0, Lsg/bigo/bigohttp/stat/NetworkReceiver$1;->b:Lsg/bigo/bigohttp/stat/NetworkReceiver;

    invoke-static {}, Lsg/bigo/bigohttp/stat/NetworkReceiver;->a()I

    move-result v1

    invoke-static {v0, v1}, Lsg/bigo/bigohttp/stat/NetworkReceiver;->a(Lsg/bigo/bigohttp/stat/NetworkReceiver;I)I

    return-void
.end method