You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
2.6 KiB
92 lines
2.6 KiB
package p065v0;
|
|
|
|
import android.os.Bundle;
|
|
import androidx.lifecycle.AbstractC0424i;
|
|
import androidx.savedstate.Recreator;
|
|
import p039m1.C1468e;
|
|
import p039m1.C1470g;
|
|
|
|
/* renamed from: v0.d */
|
|
/* loaded from: classes.dex */
|
|
public final class C1759d {
|
|
|
|
/* renamed from: d */
|
|
public static final C1760a f4477d = new C1760a(null);
|
|
|
|
/* renamed from: a */
|
|
public final InterfaceC1761e f4478a;
|
|
|
|
/* renamed from: b */
|
|
public final C1755c f4479b;
|
|
|
|
/* renamed from: c */
|
|
public boolean f4480c;
|
|
|
|
/* renamed from: v0.d$a */
|
|
/* loaded from: classes.dex */
|
|
public static final class C1760a {
|
|
public C1760a() {
|
|
}
|
|
|
|
public /* synthetic */ C1760a(C1468e c1468e) {
|
|
this();
|
|
}
|
|
|
|
/* renamed from: a */
|
|
public final C1759d m455a(InterfaceC1761e interfaceC1761e) {
|
|
C1470g.m1292e(interfaceC1761e, "owner");
|
|
return new C1759d(interfaceC1761e, null);
|
|
}
|
|
}
|
|
|
|
public C1759d(InterfaceC1761e interfaceC1761e) {
|
|
this.f4478a = interfaceC1761e;
|
|
this.f4479b = new C1755c();
|
|
}
|
|
|
|
public /* synthetic */ C1759d(InterfaceC1761e interfaceC1761e, C1468e c1468e) {
|
|
this(interfaceC1761e);
|
|
}
|
|
|
|
/* renamed from: a */
|
|
public static final C1759d m460a(InterfaceC1761e interfaceC1761e) {
|
|
return f4477d.m455a(interfaceC1761e);
|
|
}
|
|
|
|
/* renamed from: b */
|
|
public final C1755c m459b() {
|
|
return this.f4479b;
|
|
}
|
|
|
|
/* renamed from: c */
|
|
public final void m458c() {
|
|
AbstractC0424i mo421a = this.f4478a.mo421a();
|
|
C1470g.m1293d(mo421a, "owner.lifecycle");
|
|
if (!(mo421a.mo3692b() == AbstractC0424i.EnumC0427c.INITIALIZED)) {
|
|
throw new IllegalStateException("Restarter must be created only during owner's initialization stage".toString());
|
|
}
|
|
mo421a.mo3693a(new Recreator(this.f4478a));
|
|
this.f4479b.m467e(mo421a);
|
|
this.f4480c = true;
|
|
}
|
|
|
|
/* renamed from: d */
|
|
public final void m457d(Bundle bundle) {
|
|
if (!this.f4480c) {
|
|
m458c();
|
|
}
|
|
AbstractC0424i mo421a = this.f4478a.mo421a();
|
|
C1470g.m1293d(mo421a, "owner.lifecycle");
|
|
if (!mo421a.mo3692b().m3697a(AbstractC0424i.EnumC0427c.STARTED)) {
|
|
this.f4479b.m466f(bundle);
|
|
return;
|
|
}
|
|
throw new IllegalStateException(("performRestore cannot be called when owner is " + mo421a.mo3692b()).toString());
|
|
}
|
|
|
|
/* renamed from: e */
|
|
public final void m456e(Bundle bundle) {
|
|
C1470g.m1292e(bundle, "outBundle");
|
|
this.f4479b.m465g(bundle);
|
|
}
|
|
} |