NotificationClickReceiver.smali
.class public final Lcom/singbox/component/player/NotificationClickReceiver;
.super Landroid/content/BroadcastReceiver;
.source "SourceFile"
# direct methods
.method public constructor <init>()V
.registers 1
.line 159
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
return-void
.end method
.method private static a()I
.registers 1
.line 183
sget-object v0, Lcom/singbox/util/j;->a:Lcom/singbox/util/j;
invoke-static {}, Lcom/singbox/util/j;->a()Z
move-result v0
if-eqz v0, :cond_b
const/16 v0, 0x67
return v0
:cond_b
const/16 v0, 0x66
return v0
.end method
# virtual methods
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.registers 5
if-eqz p2, :cond_7
.line 161
invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;
move-result-object p1
goto :goto_8
:cond_7
const/4 p1, 0x0
:goto_8
if-nez p1, :cond_b
return-void
:cond_b
invoke-virtual {p1}, Ljava/lang/String;->hashCode()I
move-result p2
const v0, -0x9d29935
const/4 v1, 0x3
if-eq p2, v0, :cond_47
const v0, 0x3994e038
if-eq p2, v0, :cond_1b
goto :goto_7a
:cond_1b
const-string p2, "music_notify_action_play_pause"
.line 172
invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_7a
.line 173
sget-object p1, Lcom/singbox/d/c;->a:Lcom/singbox/d/c;
invoke-static {}, Lcom/singbox/d/c;->a()I
move-result p1
if-ne p1, v1, :cond_39
.line 174
sget-object p1, Lcom/singbox/d/c;->a:Lcom/singbox/d/c;
invoke-static {}, Lcom/singbox/component/player/NotificationClickReceiver;->a()I
move-result p1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
invoke-static {p1}, Lcom/singbox/d/c;->b(Ljava/lang/Integer;)V
return-void
.line 176
:cond_39
sget-object p1, Lcom/singbox/d/c;->a:Lcom/singbox/d/c;
invoke-static {}, Lcom/singbox/component/player/NotificationClickReceiver;->a()I
move-result p1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
invoke-static {p1}, Lcom/singbox/d/c;->c(Ljava/lang/Integer;)V
goto :goto_7a
:cond_47
const-string p2, "music_notify_action_close"
.line 162
invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_7a
.line 163
sget-object p1, Lcom/singbox/component/player/a;->a:Lcom/singbox/component/player/a;
invoke-static {}, Lcom/singbox/component/player/a;->a()V
.line 164
sget-object p1, Lcom/singbox/d/c;->a:Lcom/singbox/d/c;
invoke-static {}, Lcom/singbox/component/player/NotificationClickReceiver;->a()I
move-result p1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
invoke-static {p1}, Lcom/singbox/d/c;->b(Ljava/lang/Integer;)V
.line 165
sget-object p1, Lcom/singbox/component/player/a;->a:Lcom/singbox/component/player/a;
invoke-static {}, Lcom/singbox/component/player/a;->b()V
.line 166
sget-object p1, Lcom/singbox/e/h;->c:Lcom/singbox/e/h;
.line 167
invoke-static {}, Lcom/singbox/e/h;->c()V
.line 1015
iget-object p2, p1, Lcom/singbox/component/stat/b;->a:Lcom/singbox/component/stat/b$a;
const/16 v0, 0xa
.line 168
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-virtual {p2, v0}, Lcom/singbox/component/stat/b$a;->a(Ljava/lang/Object;)Lcom/singbox/component/stat/b;
const/4 p2, 0x0
.line 169
invoke-static {p1, p2, p2, v1}, Lcom/singbox/component/stat/b;->a(Lcom/singbox/component/stat/b;ZZI)V
:cond_7a
:goto_7a
return-void
.end method