Files
2026-10-11 18:18:12 +00:00

107 lines
2.8 KiB
Smali

.class public final Lradiant/gestures/queue/ViewAllTrackQueueAction;
.super Ljava/lang/Object;
.source "ViewAllTrackQueueAction.smali"
# interfaces
.implements Lradiant/gestures/queue/ComposeSwipeAction;
# instance fields
.field private final callback:Lyl0/l; # MARKER: R8 Lyl0/l;
.field private context:Landroid/content/Context;
.field private final trackId:J
# direct methods
.method public constructor <init>(Lyl0/l;Ls30/e$e;)V # MARKER: R8 Lyl0/l; Ls30/e$e;
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lradiant/gestures/queue/ViewAllTrackQueueAction;->callback:Lyl0/l; # MARKER: R8 Lyl0/l;
iget-wide v0, p2, Ls30/e$e;->a:J # MARKER: R8 Ls30/e$e; a
iput-wide v0, p0, Lradiant/gestures/queue/ViewAllTrackQueueAction;->trackId:J
return-void
.end method
# virtual methods
.method public invoke(I)Ljava/lang/Object;
.locals 5
iget-object v0, p0, Lradiant/gestures/queue/ViewAllTrackQueueAction;->callback:Lyl0/l; # MARKER: R8 Lyl0/l;
if-eqz v0, :done
iget-wide v1, p0, Lradiant/gestures/queue/ViewAllTrackQueueAction;->trackId:J
const/4 v3, 0x3
if-eq p1, v3, :queue_event
invoke-static {}, Lradiant/gestures/queue/QueueExecutor;->hasActiveQueue()Z
move-result v3
if-eqz v3, :play_existing
:queue_event
iget-object v3, p0, Lradiant/gestures/queue/ViewAllTrackQueueAction;->context:Landroid/content/Context;
if-eqz v3, :done
invoke-static {v3}, Lradiant/gestures/queue/ViewAllTrackQueue;->setContext(Landroid/content/Context;)V
invoke-static {v1, v2, p1}, Lradiant/gestures/queue/ViewAllTrackQueue;->marker(JI)Ljava/lang/String;
move-result-object v3
new-instance v4, Lo30/c$b; # MARKER: R8 Lo30/c$b;
invoke-direct {v4, v3}, Lo30/c$b;-><init>(Ljava/lang/Object;)V # MARKER: R8 Lo30/c$b;
goto :emit
:play_existing
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v3
new-instance v4, Lo30/c$b; # MARKER: R8 Lo30/c$b;
invoke-direct {v4, v3}, Lo30/c$b;-><init>(Ljava/lang/Object;)V # MARKER: R8 Lo30/c$b;
:emit
invoke-interface {v0, v4}, Lyl0/l;->invoke(Ljava/lang/Object;)Ljava/lang/Object; # MARKER: R8 Lyl0/l;
:done
sget-object v0, Lkotlin/u;->a:Lkotlin/u; # MARKER: R8 Lkotlin/u;
return-object v0
.end method
.method public invoke()Ljava/lang/Object;
.locals 1
const/4 v0, 0x2
invoke-virtual {p0, v0}, Lradiant/gestures/queue/ViewAllTrackQueueAction;->invoke(I)Ljava/lang/Object;
move-result-object v0
return-object v0
.end method
.method public setContext(Landroid/content/Context;)V
.locals 0
iput-object p1, p0, Lradiant/gestures/queue/ViewAllTrackQueueAction;->context:Landroid/content/Context;
return-void
.end method