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

30 lines
987 B
Java

package c.a.f;
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);
}
/* 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;
Subscription subscription = d.f54c;
if (subscription != null) {
subscription.unsubscribe();
}
d.b.onNext(Boolean.valueOf(booleanValue));
return Unit.a;
}
}