discord-jadx/app/src/main/java/b/a/q/l0/a.java

73 lines
2.1 KiB
Java

package b.a.q.l0;
import com.discord.models.domain.ModelAuditLogEntry;
import d0.z.d.m;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* compiled from: WiredHeadsetState.kt */
public abstract class a {
/* compiled from: WiredHeadsetState.kt */
/* renamed from: b.a.q.l0.a$a reason: collision with other inner class name */
public static final class C0033a extends a {
public final String a;
/* renamed from: b reason: collision with root package name */
public final boolean f260b;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0033a(String str, boolean z2) {
super(false, null);
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
this.a = str;
this.f260b = z2;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0033a)) {
return false;
}
C0033a aVar = (C0033a) obj;
return m.areEqual(this.a, aVar.a) && this.f260b == aVar.f260b;
}
public int hashCode() {
String str = this.a;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
boolean z2 = this.f260b;
if (z2) {
z2 = true;
}
int i = z2 ? 1 : 0;
int i2 = z2 ? 1 : 0;
int i3 = z2 ? 1 : 0;
return hashCode + i;
}
public String toString() {
StringBuilder R = b.d.b.a.a.R("PluggedIn(name=");
R.append(this.a);
R.append(", hasMic=");
return b.d.b.a.a.M(R, this.f260b, ")");
}
}
/* compiled from: WiredHeadsetState.kt */
public static final class b extends a {
public static final b a = new b();
public b() {
super(false, null);
}
public String toString() {
return "WiredHeadsetState.Unplugged";
}
}
public a(boolean z2, DefaultConstructorMarker defaultConstructorMarker) {
}
}