package androidx.lifecycle; import android.app.Service; import android.content.Intent; import android.os.IBinder; import androidx.annotation.CallSuper; import kotlin.jvm.internal.Intrinsics; /* loaded from: classes.dex */ public class LifecycleService extends Service implements LifecycleOwner { private final ServiceLifecycleDispatcher dispatcher = new ServiceLifecycleDispatcher(this); @Override // android.app.Service @CallSuper public void onCreate() { this.dispatcher.onServicePreSuperOnCreate(); super.onCreate(); } @Override // android.app.Service @CallSuper public IBinder onBind(Intent intent) { Intrinsics.checkNotNullParameter(intent, "intent"); this.dispatcher.onServicePreSuperOnBind(); return null; } @Override // android.app.Service @CallSuper public void onStart(Intent intent, int i) { this.dispatcher.onServicePreSuperOnStart(); super.onStart(intent, i); } @Override // android.app.Service @CallSuper public int onStartCommand(Intent intent, int i, int i2) { return super.onStartCommand(intent, i, i2); } @Override // android.app.Service @CallSuper public void onDestroy() { this.dispatcher.onServicePreSuperOnDestroy(); super.onDestroy(); } @Override // androidx.lifecycle.LifecycleOwner public Lifecycle getLifecycle() { return this.dispatcher.getLifecycle(); } }