q$a.smali

.class final Lf/b/b/b/q$a;
.super Landroid/content/BroadcastReceiver;
.source ""

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lf/b/b/b/q;
.end annotation

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


# instance fields
.field private final e:Lf/b/b/b/q$b;

.field private final f:Landroid/os/Handler;

.field final synthetic g:Lf/b/b/b/q;


# direct methods
.method public constructor <init>(Lf/b/b/b/q;Landroid/os/Handler;Lf/b/b/b/q$b;)V
    .registers 4

    iput-object p1, p0, Lf/b/b/b/q$a;->g:Lf/b/b/b/q;

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

    iput-object p2, p0, Lf/b/b/b/q$a;->f:Landroid/os/Handler;

    iput-object p3, p0, Lf/b/b/b/q$a;->e:Lf/b/b/b/q$b;

    return-void
.end method


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

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

    move-result-object p1

    const-string p2, "android.media.AUDIO_BECOMING_NOISY"

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

    move-result p1

    if-eqz p1, :cond_11

    iget-object p1, p0, Lf/b/b/b/q$a;->f:Landroid/os/Handler;

    invoke-virtual {p1, p0}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    :cond_11
    return-void
.end method

.method public run()V
    .registers 2

    iget-object v0, p0, Lf/b/b/b/q$a;->g:Lf/b/b/b/q;

    invoke-static {v0}, Lf/b/b/b/q;->a(Lf/b/b/b/q;)Z

    move-result v0

    if-eqz v0, :cond_d

    iget-object v0, p0, Lf/b/b/b/q$a;->e:Lf/b/b/b/q$b;

    invoke-interface {v0}, Lf/b/b/b/q$b;->l()V

    :cond_d
    return-void
.end method