ax$a.smali

.class final Lcom/loc/ax$a;
.super Landroid/content/BroadcastReceiver;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/loc/ax;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "a"
.end annotation


# instance fields
.field final synthetic a:Lcom/loc/ax;


# direct methods
.method constructor <init>(Lcom/loc/ax;)V
    .registers 2

    iput-object p1, p0, Lcom/loc/ax$a;->a:Lcom/loc/ax;

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

    return-void
.end method


# virtual methods
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .registers 6

    if-eqz p1, :cond_4

    if-nez p2, :cond_5

    :cond_4
    :goto_4
    return-void

    :cond_5
    :try_start_5
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_4

    const-string/jumbo v1, "android.net.wifi.SCAN_RESULTS"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_31

    iget-object v0, p0, Lcom/loc/ax$a;->a:Lcom/loc/ax;

    iget-object v0, v0, Lcom/loc/ax;->c:Lcom/loc/bm;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/loc/ax$a;->a:Lcom/loc/ax;

    iget-object v0, v0, Lcom/loc/ax;->c:Lcom/loc/bm;

    invoke-virtual {v0}, Lcom/loc/bm;->d()V
    :try_end_25
    .catch Ljava/lang/Throwable; {:try_start_5 .. :try_end_25} :catch_26

    goto :goto_4

    :catch_26
    move-exception v0

    const-string/jumbo v1, "APS"

    const-string/jumbo v2, "onReceive"

    invoke-static {v0, v1, v2}, Lcom/loc/ca;->a(Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_4

    :cond_31
    :try_start_31
    const-string/jumbo v1, "android.net.wifi.WIFI_STATE_CHANGED"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_48

    iget-object v0, p0, Lcom/loc/ax$a;->a:Lcom/loc/ax;

    iget-object v0, v0, Lcom/loc/ax;->c:Lcom/loc/bm;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/loc/ax$a;->a:Lcom/loc/ax;

    iget-object v0, v0, Lcom/loc/ax;->c:Lcom/loc/bm;

    invoke-virtual {v0}, Lcom/loc/bm;->e()V

    goto :goto_4

    :cond_48
    const-string/jumbo v1, "android.intent.action.SCREEN_ON"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_60

    iget-object v0, p0, Lcom/loc/ax$a;->a:Lcom/loc/ax;

    iget-object v0, v0, Lcom/loc/ax;->f:Lcom/loc/bk;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/loc/ax$a;->a:Lcom/loc/ax;

    iget-object v0, v0, Lcom/loc/ax;->f:Lcom/loc/bk;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/loc/bk;->a(Z)V

    goto :goto_4

    :cond_60
    const-string/jumbo v1, "android.intent.action.SCREEN_OFF"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_7f

    iget-object v0, p0, Lcom/loc/ax$a;->a:Lcom/loc/ax;

    iget-object v0, v0, Lcom/loc/ax;->f:Lcom/loc/bk;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/loc/ax$a;->a:Lcom/loc/ax;

    iget-object v0, v0, Lcom/loc/ax;->f:Lcom/loc/bk;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/loc/bk;->a(Z)V

    iget-object v0, p0, Lcom/loc/ax$a;->a:Lcom/loc/ax;

    iget-object v0, v0, Lcom/loc/ax;->f:Lcom/loc/bk;

    invoke-virtual {v0}, Lcom/loc/bk;->c()V

    goto :goto_4

    :cond_7f
    const-string/jumbo v1, "android.net.conn.CONNECTIVITY_CHANGE"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/loc/ax$a;->a:Lcom/loc/ax;

    iget-object v0, v0, Lcom/loc/ax;->f:Lcom/loc/bk;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/loc/ax$a;->a:Lcom/loc/ax;

    iget-object v0, v0, Lcom/loc/ax;->f:Lcom/loc/bk;

    invoke-virtual {v0}, Lcom/loc/bk;->d()V
    :try_end_95
    .catch Ljava/lang/Throwable; {:try_start_31 .. :try_end_95} :catch_26

    goto/16 :goto_4
.end method