87 lines
2.7 KiB
Java
87 lines
2.7 KiB
Java
package androidx.lifecycle;
|
|
|
|
import o.InterfaceC15806ikR;
|
|
import o.InterfaceC16541pFg;
|
|
import o.InterfaceC3451axm;
|
|
import o.wdQ;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class FullLifecycleObserverAdapter implements InterfaceC3451axm {
|
|
private final InterfaceC15806ikR b;
|
|
private final InterfaceC3451axm d;
|
|
|
|
public FullLifecycleObserverAdapter(InterfaceC15806ikR interfaceC15806ikR, InterfaceC3451axm interfaceC3451axm) {
|
|
this.b = interfaceC15806ikR;
|
|
this.d = interfaceC3451axm;
|
|
}
|
|
|
|
/* renamed from: androidx.lifecycle.FullLifecycleObserverAdapter$2, reason: invalid class name */
|
|
/* loaded from: classes.dex */
|
|
static /* synthetic */ class AnonymousClass2 {
|
|
static final int[] a;
|
|
|
|
static {
|
|
int[] iArr = new int[wdQ.HBt.values().length];
|
|
a = iArr;
|
|
try {
|
|
iArr[wdQ.HBt.ON_CREATE.ordinal()] = 1;
|
|
} catch (NoSuchFieldError unused) {
|
|
}
|
|
try {
|
|
a[wdQ.HBt.ON_START.ordinal()] = 2;
|
|
} catch (NoSuchFieldError unused2) {
|
|
}
|
|
try {
|
|
a[wdQ.HBt.ON_RESUME.ordinal()] = 3;
|
|
} catch (NoSuchFieldError unused3) {
|
|
}
|
|
try {
|
|
a[wdQ.HBt.ON_PAUSE.ordinal()] = 4;
|
|
} catch (NoSuchFieldError unused4) {
|
|
}
|
|
try {
|
|
a[wdQ.HBt.ON_STOP.ordinal()] = 5;
|
|
} catch (NoSuchFieldError unused5) {
|
|
}
|
|
try {
|
|
a[wdQ.HBt.ON_DESTROY.ordinal()] = 6;
|
|
} catch (NoSuchFieldError unused6) {
|
|
}
|
|
try {
|
|
a[wdQ.HBt.ON_ANY.ordinal()] = 7;
|
|
} catch (NoSuchFieldError unused7) {
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC3451axm
|
|
public final void c(InterfaceC16541pFg interfaceC16541pFg, wdQ.HBt hBt) {
|
|
switch (AnonymousClass2.a[hBt.ordinal()]) {
|
|
case 1:
|
|
this.b.onCreate(interfaceC16541pFg);
|
|
break;
|
|
case 2:
|
|
this.b.onStart(interfaceC16541pFg);
|
|
break;
|
|
case 3:
|
|
this.b.onResume(interfaceC16541pFg);
|
|
break;
|
|
case 4:
|
|
this.b.onPause(interfaceC16541pFg);
|
|
break;
|
|
case 5:
|
|
this.b.onStop(interfaceC16541pFg);
|
|
break;
|
|
case 6:
|
|
this.b.onDestroy(interfaceC16541pFg);
|
|
break;
|
|
case 7:
|
|
throw new IllegalArgumentException("ON_ANY must not been send by anybody");
|
|
}
|
|
InterfaceC3451axm interfaceC3451axm = this.d;
|
|
if (interfaceC3451axm != null) {
|
|
interfaceC3451axm.c(interfaceC16541pFg, hBt);
|
|
}
|
|
}
|
|
}
|