discord-jadx/app/src/main/java/c/a/f/a.java

30 lines
987 B
Java
Raw Normal View History

2021-07-24 02:37:17 +00:00
package c.a.f;
2021-08-03 07:33:18 +00:00
import d0.z.d.k;
import java.util.Objects;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import rx.Subscription;
/* compiled from: Backgrounded.kt */
public final /* synthetic */ class a extends k implements Function1<Boolean, Unit> {
public a(d dVar) {
super(1, dVar, d.class, "emit", "emit(Z)V", 0);
2021-07-24 02:37:17 +00:00
}
2021-08-03 07:33:18 +00:00
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public Unit invoke(Boolean bool) {
boolean booleanValue = bool.booleanValue();
boolean z2 = d.a;
Objects.requireNonNull((d) this.receiver);
d.a = booleanValue;
2021-08-10 10:47:20 +00:00
Subscription subscription = d.f54c;
2021-08-03 07:33:18 +00:00
if (subscription != null) {
subscription.unsubscribe();
2021-07-24 02:37:17 +00:00
}
2021-08-03 07:33:18 +00:00
d.b.onNext(Boolean.valueOf(booleanValue));
return Unit.a;
2021-07-24 02:37:17 +00:00
}
}