Files
rr3-apk/decompiled/sources/androidx/lifecycle/LifecycleService.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

53 lines
1.4 KiB
Java

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();
}
}