ApplicationLoader$1.smali
.class final Lim/tpelyyftgw/messenger/ApplicationLoader$1;
.super Landroid/content/BroadcastReceiver;
.source "ApplicationLoader.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/messenger/ApplicationLoader;->postInitApplication()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>()V
.registers 1
.line 116
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
return-void
.end method
# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.registers 6
.param p1, "context" # Landroid/content/Context;
.param p2, "intent" # Landroid/content/Intent;
.line 120
:try_start_0
invoke-static {}, Lim/tpelyyftgw/messenger/ApplicationLoader;->access$000()Landroid/net/ConnectivityManager;
move-result-object v0
invoke-virtual {v0}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
move-result-object v0
sput-object v0, Lim/tpelyyftgw/messenger/ApplicationLoader;->currentNetworkInfo:Landroid/net/NetworkInfo;
:try_end_a
.catchall {:try_start_0 .. :try_end_a} :catchall_b
.line 123
goto :goto_c
.line 121
:catchall_b
move-exception v0
.line 125
:goto_c
invoke-static {}, Lim/tpelyyftgw/messenger/ApplicationLoader;->isConnectionSlow()Z
move-result v0
.line 126
.local v0, "isSlow":Z
const/4 v1, 0x0
.local v1, "a":I
:goto_11
const/4 v2, 0x3
if-ge v1, v2, :cond_25
.line 127
invoke-static {v1}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->getInstance(I)Lim/tpelyyftgw/tgnet/ConnectionsManager;
move-result-object v2
invoke-virtual {v2}, Lim/tpelyyftgw/tgnet/ConnectionsManager;->checkConnection()V
.line 128
invoke-static {v1}, Lim/tpelyyftgw/messenger/FileLoader;->getInstance(I)Lim/tpelyyftgw/messenger/FileLoader;
move-result-object v2
invoke-virtual {v2, v0}, Lim/tpelyyftgw/messenger/FileLoader;->onNetworkChanged(Z)V
.line 126
add-int/lit8 v1, v1, 0x1
goto :goto_11
.line 130
.end local v1 # "a":I
:cond_25
return-void
.end method