2021-06-27 20:44:35 +00:00
|
|
|
package c.a.e;
|
|
|
|
|
|
|
|
import d0.z.d.m;
|
|
|
|
import rx.Observable;
|
|
|
|
import rx.Subscription;
|
|
|
|
import rx.subjects.BehaviorSubject;
|
|
|
|
import rx.subjects.Subject;
|
|
|
|
/* compiled from: Backgrounded.kt */
|
|
|
|
public final class d {
|
|
|
|
public static boolean a = true;
|
|
|
|
public static final Subject<Boolean, Boolean> b;
|
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-07-03 23:36:06 +00:00
|
|
|
public static Subscription f51c;
|
2021-06-27 20:44:35 +00:00
|
|
|
public static final d d = new d();
|
|
|
|
|
|
|
|
static {
|
2021-07-03 23:36:06 +00:00
|
|
|
BehaviorSubject l0 = BehaviorSubject.l0(true);
|
|
|
|
m.checkNotNullExpressionValue(l0, "BehaviorSubject.create(isBackgrounded)");
|
|
|
|
b = l0;
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public final Observable<Boolean> a() {
|
2021-07-03 23:36:06 +00:00
|
|
|
Observable<Boolean> r = b.r();
|
|
|
|
m.checkNotNullExpressionValue(r, "emitter.distinctUntilChanged()");
|
|
|
|
return r;
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
}
|