alexandroid/decompiled/jadx/sources/androidx/lifecycle/LifecycleService.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

64 lines
3.4 KiB
Java

package androidx.lifecycle;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import androidx.annotation.CallSuper;
import com.amazon.alexa.accessorykit.ApplicationLifecycleObserverEventEmitter;
import com.amazon.deecomms.common.network.AppUrl;
import kotlin.Deprecated;
import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0016\u0018\u00002\u00020\u00012\u00020\u0002B\u0007¢\u0006\u0004\b\u0003\u0010\u0004J\b\u0010\u0007\u001a\u00020\bH\u0017J\u0012\u0010\t\u001a\u0004\u0018\u00010\n2\u0006\u0010\u000b\u001a\u00020\fH\u0017J\u001a\u0010\r\u001a\u00020\b2\b\u0010\u000b\u001a\u0004\u0018\u00010\f2\u0006\u0010\u000e\u001a\u00020\u000fH\u0017J\"\u0010\u0010\u001a\u00020\u000f2\b\u0010\u000b\u001a\u0004\u0018\u00010\f2\u0006\u0010\u0011\u001a\u00020\u000f2\u0006\u0010\u000e\u001a\u00020\u000fH\u0017J\b\u0010\u0012\u001a\u00020\bH\u0017R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\u0013\u001a\u00020\u00148VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u0015\u0010\u0016¨\u0006\u0017"}, d2 = {"Landroidx/lifecycle/LifecycleService;", "Landroid/app/Service;", "Landroidx/lifecycle/LifecycleOwner;", "<init>", "()V", "dispatcher", "Landroidx/lifecycle/ServiceLifecycleDispatcher;", "onCreate", "", "onBind", "Landroid/os/IBinder;", "intent", "Landroid/content/Intent;", ApplicationLifecycleObserverEventEmitter.LIFECYCLE_EVENT_START, AppUrl.ACMS.QueryParam.Keys.MESSAGE_START_ID, "", "onStartCommand", "flags", "onDestroy", "lifecycle", "Landroidx/lifecycle/Lifecycle;", "getLifecycle", "()Landroidx/lifecycle/Lifecycle;", "lifecycle-service"}, k = 1, mv = {2, 0, 0}, xi = 48)
/* loaded from: classes14.dex */
public class LifecycleService extends Service implements LifecycleOwner {
@NotNull
private final ServiceLifecycleDispatcher dispatcher = new ServiceLifecycleDispatcher(this);
@Override // androidx.lifecycle.LifecycleOwner
@NotNull
public Lifecycle getLifecycle() {
return this.dispatcher.getLifecycle();
}
@Override // android.app.Service
@CallSuper
@Nullable
public IBinder onBind(@NotNull Intent intent) {
intent.getClass();
this.dispatcher.onServicePreSuperOnBind();
return null;
}
@Override // android.app.Service
@CallSuper
public void onCreate() {
this.dispatcher.onServicePreSuperOnCreate();
super.onCreate();
}
@Override // android.app.Service
@CallSuper
public void onDestroy() {
this.dispatcher.onServicePreSuperOnDestroy();
super.onDestroy();
}
@Override // android.app.Service
@Deprecated(message = "Deprecated in Java")
@CallSuper
public void onStart(@Nullable Intent intent, int startId) {
this.dispatcher.onServicePreSuperOnStart();
super.onStart(intent, startId);
}
@Override // android.app.Service
@CallSuper
public int onStartCommand(@Nullable Intent intent, int flags, int startId) {
return super.onStartCommand(intent, flags, startId);
}
}