package androidx.lifecycle;

import c.i.b;
import c.i.d;
import c.i.e;
import c.i.g;

/* JADX INFO: loaded from: classes.dex */
public class FullLifecycleObserverAdapter implements e {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final b f4694a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final e f4695b;

    public FullLifecycleObserverAdapter(b bVar, e eVar) {
        this.f4694a = bVar;
        this.f4695b = eVar;
    }

    @Override // c.i.e
    public void e(g gVar, d.a aVar) {
        switch (aVar) {
            case ON_CREATE:
                this.f4694a.d(gVar);
                break;
            case ON_START:
                this.f4694a.g(gVar);
                break;
            case ON_RESUME:
                this.f4694a.b(gVar);
                break;
            case ON_PAUSE:
                this.f4694a.f(gVar);
                break;
            case ON_STOP:
                this.f4694a.h(gVar);
                break;
            case ON_DESTROY:
                this.f4694a.c(gVar);
                break;
            case ON_ANY:
                throw new IllegalArgumentException("ON_ANY must not been send by anybody");
        }
        e eVar = this.f4695b;
        if (eVar != null) {
            eVar.e(gVar, aVar);
        }
    }
}
