discord-jadx/app/src/main/java/com/discord/views/calls/StageCallSpeakerView.java

67 lines
2.9 KiB
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
package com.discord.views.calls;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.cardview.widget.CardView;
2021-07-13 20:23:20 +00:00
import c.a.i.k3;
2021-06-27 20:44:35 +00:00
import com.discord.views.VoiceUserView;
import d0.z.d.m;
import rx.Subscription;
/* compiled from: StageCallSpeakerView.kt */
public final class StageCallSpeakerView extends CardView {
2021-07-13 20:23:20 +00:00
public final k3 i;
2021-06-27 20:44:35 +00:00
public Subscription j;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StageCallSpeakerView(Context context, AttributeSet attributeSet) {
super(context, attributeSet, 0);
m.checkNotNullParameter(context, "context");
2021-07-13 20:23:20 +00:00
LayoutInflater.from(context).inflate(2131558822, this);
int i = 2131365093;
VoiceUserView voiceUserView = (VoiceUserView) findViewById(2131365093);
2021-06-27 20:44:35 +00:00
if (voiceUserView != null) {
2021-07-13 20:23:20 +00:00
i = 2131365094;
ImageView imageView = (ImageView) findViewById(2131365094);
2021-06-27 20:44:35 +00:00
if (imageView != null) {
2021-07-13 20:23:20 +00:00
i = 2131365096;
ImageView imageView2 = (ImageView) findViewById(2131365096);
2021-06-27 20:44:35 +00:00
if (imageView2 != null) {
2021-07-13 20:23:20 +00:00
i = 2131365097;
ImageView imageView3 = (ImageView) findViewById(2131365097);
2021-06-27 20:44:35 +00:00
if (imageView3 != null) {
2021-07-13 20:23:20 +00:00
i = 2131365098;
ImageView imageView4 = (ImageView) findViewById(2131365098);
2021-06-27 20:53:42 +00:00
if (imageView4 != null) {
2021-07-13 20:23:20 +00:00
i = 2131365099;
TextView textView = (TextView) findViewById(2131365099);
2021-06-27 20:53:42 +00:00
if (textView != null) {
2021-07-13 20:23:20 +00:00
i = 2131365100;
SpeakerPulseView speakerPulseView = (SpeakerPulseView) findViewById(2131365100);
2021-06-27 20:53:42 +00:00
if (speakerPulseView != null) {
2021-07-13 20:23:20 +00:00
k3 k3Var = new k3(this, voiceUserView, imageView, imageView2, imageView3, imageView4, textView, speakerPulseView);
m.checkNotNullExpressionValue(k3Var, "ViewStageChannelSpeakerB…ater.from(context), this)");
this.i = k3Var;
2021-06-27 20:53:42 +00:00
return;
}
2021-06-27 20:44:35 +00:00
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(getResources().getResourceName(i)));
}
@Override // android.view.View, android.view.ViewGroup
public void onDetachedFromWindow() {
super.onDetachedFromWindow();
Subscription subscription = this.j;
if (subscription != null) {
subscription.unsubscribe();
}
}
}