package androidx.lifecycle; import androidx.lifecycle.Lifecycle; /* loaded from: classes.dex */ class FullLifecycleObserverAdapter implements GenericLifecycleObserver { private final FullLifecycleObserver a; /* renamed from: androidx.lifecycle.FullLifecycleObserverAdapter$1, reason: invalid class name */ static /* synthetic */ class AnonymousClass1 { static final /* synthetic */ int[] a = new int[Lifecycle.Event.values().length]; static { try { a[Lifecycle.Event.ON_CREATE.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { a[Lifecycle.Event.ON_START.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { a[Lifecycle.Event.ON_RESUME.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { a[Lifecycle.Event.ON_PAUSE.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { a[Lifecycle.Event.ON_STOP.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } try { a[Lifecycle.Event.ON_DESTROY.ordinal()] = 6; } catch (NoSuchFieldError unused6) { } try { a[Lifecycle.Event.ON_ANY.ordinal()] = 7; } catch (NoSuchFieldError unused7) { } } } FullLifecycleObserverAdapter(FullLifecycleObserver fullLifecycleObserver) { this.a = fullLifecycleObserver; } @Override // androidx.lifecycle.GenericLifecycleObserver public void a(LifecycleOwner lifecycleOwner, Lifecycle.Event event) { switch (AnonymousClass1.a[event.ordinal()]) { case 1: this.a.b(lifecycleOwner); return; case 2: this.a.f(lifecycleOwner); return; case 3: this.a.a(lifecycleOwner); return; case 4: this.a.c(lifecycleOwner); return; case 5: this.a.d(lifecycleOwner); return; case 6: this.a.e(lifecycleOwner); return; case 7: throw new IllegalArgumentException("ON_ANY must not been send by anybody"); default: return; } } }