apkfuckery/com.discord/smali/androidx/lifecycle/LifecycleService.smali
2019-02-04 21:29:01 +01:00

111 lines
3.2 KiB
Smali

.class public Landroidx/lifecycle/LifecycleService;
.super Landroid/app/Service;
.source "LifecycleService.java"
# interfaces
.implements Landroidx/lifecycle/LifecycleOwner;
# instance fields
.field private final mDispatcher:Landroidx/lifecycle/ServiceLifecycleDispatcher;
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Landroid/app/Service;-><init>()V
new-instance v0, Landroidx/lifecycle/ServiceLifecycleDispatcher;
invoke-direct {v0, p0}, Landroidx/lifecycle/ServiceLifecycleDispatcher;-><init>(Landroidx/lifecycle/LifecycleOwner;)V
iput-object v0, p0, Landroidx/lifecycle/LifecycleService;->mDispatcher:Landroidx/lifecycle/ServiceLifecycleDispatcher;
return-void
.end method
# virtual methods
.method public getLifecycle()Landroidx/lifecycle/Lifecycle;
.locals 1
iget-object v0, p0, Landroidx/lifecycle/LifecycleService;->mDispatcher:Landroidx/lifecycle/ServiceLifecycleDispatcher;
invoke-virtual {v0}, Landroidx/lifecycle/ServiceLifecycleDispatcher;->getLifecycle()Landroidx/lifecycle/Lifecycle;
move-result-object v0
return-object v0
.end method
.method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
.locals 0
.annotation build Landroidx/annotation/CallSuper;
.end annotation
.annotation build Landroidx/annotation/Nullable;
.end annotation
iget-object p1, p0, Landroidx/lifecycle/LifecycleService;->mDispatcher:Landroidx/lifecycle/ServiceLifecycleDispatcher;
invoke-virtual {p1}, Landroidx/lifecycle/ServiceLifecycleDispatcher;->onServicePreSuperOnBind()V
const/4 p1, 0x0
return-object p1
.end method
.method public onCreate()V
.locals 1
.annotation build Landroidx/annotation/CallSuper;
.end annotation
iget-object v0, p0, Landroidx/lifecycle/LifecycleService;->mDispatcher:Landroidx/lifecycle/ServiceLifecycleDispatcher;
invoke-virtual {v0}, Landroidx/lifecycle/ServiceLifecycleDispatcher;->onServicePreSuperOnCreate()V
invoke-super {p0}, Landroid/app/Service;->onCreate()V
return-void
.end method
.method public onDestroy()V
.locals 1
.annotation build Landroidx/annotation/CallSuper;
.end annotation
iget-object v0, p0, Landroidx/lifecycle/LifecycleService;->mDispatcher:Landroidx/lifecycle/ServiceLifecycleDispatcher;
invoke-virtual {v0}, Landroidx/lifecycle/ServiceLifecycleDispatcher;->onServicePreSuperOnDestroy()V
invoke-super {p0}, Landroid/app/Service;->onDestroy()V
return-void
.end method
.method public onStart(Landroid/content/Intent;I)V
.locals 1
.annotation build Landroidx/annotation/CallSuper;
.end annotation
iget-object v0, p0, Landroidx/lifecycle/LifecycleService;->mDispatcher:Landroidx/lifecycle/ServiceLifecycleDispatcher;
invoke-virtual {v0}, Landroidx/lifecycle/ServiceLifecycleDispatcher;->onServicePreSuperOnStart()V
invoke-super {p0, p1, p2}, Landroid/app/Service;->onStart(Landroid/content/Intent;I)V
return-void
.end method
.method public onStartCommand(Landroid/content/Intent;II)I
.locals 0
.annotation build Landroidx/annotation/CallSuper;
.end annotation
invoke-super {p0, p1, p2, p3}, Landroid/app/Service;->onStartCommand(Landroid/content/Intent;II)I
move-result p1
return p1
.end method