package androidx.lifecycle;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

/* loaded from: classes.dex */
public abstract class y extends Service implements u {

    /* renamed from: p, reason: collision with root package name */
    private final w0 f4922p = new w0(this);

    @Override // androidx.lifecycle.u
    public n getLifecycle() {
        return this.f4922p.a();
    }

    @Override // android.app.Service
    public IBinder onBind(Intent intent) {
        kotlin.jvm.internal.t.g(intent, "intent");
        this.f4922p.b();
        return null;
    }

    @Override // android.app.Service
    public void onCreate() {
        this.f4922p.c();
        super.onCreate();
    }

    @Override // android.app.Service
    public void onDestroy() {
        this.f4922p.d();
        super.onDestroy();
    }

    @Override // android.app.Service
    public void onStart(Intent intent, int i10) {
        this.f4922p.e();
        super.onStart(intent, i10);
    }

    @Override // android.app.Service
    public int onStartCommand(Intent intent, int i10, int i11) {
        return super.onStartCommand(intent, i10, i11);
    }
}
