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

73 lines
2.1 KiB
Java
Raw Normal View History

2021-12-17 21:59:34 +00:00
package b.a.q.l0;
2021-07-24 02:37:17 +00:00
import com.discord.models.domain.ModelAuditLogEntry;
2021-11-02 06:38:17 +00:00
import d0.z.d.m;
2021-07-24 02:37:17 +00:00
import kotlin.jvm.internal.DefaultConstructorMarker;
2021-08-12 06:36:45 +00:00
/* compiled from: WiredHeadsetState.kt */
public abstract class a {
2021-07-24 02:37:17 +00:00
2021-08-12 06:36:45 +00:00
/* compiled from: WiredHeadsetState.kt */
2021-12-17 21:59:34 +00:00
/* renamed from: b.a.q.l0.a$a reason: collision with other inner class name */
public static final class C0033a extends a {
2021-08-12 06:36:45 +00:00
public final String a;
2021-12-17 21:59:34 +00:00
/* renamed from: b reason: collision with root package name */
public final boolean f260b;
2021-07-24 02:37:17 +00:00
2021-08-12 06:36:45 +00:00
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
2021-12-17 21:59:34 +00:00
public C0033a(String str, boolean z2) {
2021-08-12 06:36:45 +00:00
super(false, null);
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
this.a = str;
2021-12-17 21:59:34 +00:00
this.f260b = z2;
2021-08-12 06:36:45 +00:00
}
2021-07-24 02:37:17 +00:00
2021-08-12 06:36:45 +00:00
public boolean equals(Object obj) {
if (this == obj) {
return true;
2021-07-24 02:37:17 +00:00
}
2021-12-17 21:59:34 +00:00
if (!(obj instanceof C0033a)) {
2021-08-12 06:36:45 +00:00
return false;
2021-07-24 02:37:17 +00:00
}
2021-12-17 21:59:34 +00:00
C0033a aVar = (C0033a) obj;
return m.areEqual(this.a, aVar.a) && this.f260b == aVar.f260b;
2021-08-12 06:36:45 +00:00
}
public int hashCode() {
String str = this.a;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
2021-12-17 21:59:34 +00:00
boolean z2 = this.f260b;
2021-08-12 06:36:45 +00:00
if (z2) {
z2 = true;
2021-07-24 02:37:17 +00:00
}
2021-08-12 06:36:45 +00:00
int i = z2 ? 1 : 0;
int i2 = z2 ? 1 : 0;
int i3 = z2 ? 1 : 0;
return hashCode + i;
}
public String toString() {
2021-12-17 21:59:34 +00:00
StringBuilder R = b.d.b.a.a.R("PluggedIn(name=");
2021-11-05 06:48:17 +00:00
R.append(this.a);
R.append(", hasMic=");
2022-01-13 08:07:50 +00:00
return b.d.b.a.a.M(R, this.f260b, ")");
2021-07-24 02:37:17 +00:00
}
}
2021-08-12 06:36:45 +00:00
/* 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) {
}
2021-07-24 02:37:17 +00:00
}