apkfuckery/com.discord/smali/f/a/n/o0/k.smali
2020-09-17 00:45:48 +00:00

63 lines
2.3 KiB
Smali

.class public final Lf/a/n/o0/k;
.super Ljava/lang/Object;
.source "VideoCallParticipantView.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# instance fields
.field public final synthetic d:Lcom/discord/views/video/VideoCallParticipantView;
.field public final synthetic e:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
# direct methods
.method public constructor <init>(Lcom/discord/views/video/VideoCallParticipantView;Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;)V
.locals 0
iput-object p1, p0, Lf/a/n/o0/k;->d:Lcom/discord/views/video/VideoCallParticipantView;
iput-object p2, p0, Lf/a/n/o0/k;->e:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 1
iget-object p1, p0, Lf/a/n/o0/k;->e:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
iget-object p1, p1, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
invoke-virtual {p1}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getApplicationStream()Lcom/discord/models/domain/ModelApplicationStream;
move-result-object p1
if-eqz p1, :cond_0
iget-object p1, p0, Lf/a/n/o0/k;->d:Lcom/discord/views/video/VideoCallParticipantView;
iget-object p1, p1, Lcom/discord/views/video/VideoCallParticipantView;->s:Lkotlin/jvm/functions/Function1;
iget-object v0, p0, Lf/a/n/o0/k;->e:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
iget-object v0, v0, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
invoke-virtual {v0}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getApplicationStream()Lcom/discord/models/domain/ModelApplicationStream;
move-result-object v0
invoke-virtual {v0}, Lcom/discord/models/domain/ModelApplicationStream;->getEncodedStreamKey()Ljava/lang/String;
move-result-object v0
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:cond_0
return-void
.end method