- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
53 lines
1.4 KiB
Java
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();
|
|
}
|
|
}
|