apkfuckery/com.discord/smali/androidx/lifecycle/LifecycleService.smali

126 lines
3.7 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Landroidx/lifecycle/LifecycleService;
.super Landroid/app/Service;
.source "LifecycleService.java"
# interfaces
.implements Landroidx/lifecycle/LifecycleOwner;
# instance fields
2019-12-06 03:29:40 +00:00
.field public final mDispatcher:Landroidx/lifecycle/ServiceLifecycleDispatcher;
2019-07-24 11:27:29 +00:00
# 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
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/NonNull;
.end annotation
2019-07-24 11:27:29 +00:00
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
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/CallSuper;
.end annotation
.annotation build Landroidx/annotation/Nullable;
.end annotation
2019-07-24 11:27:29 +00:00
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
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/CallSuper;
.end annotation
2019-07-24 11:27:29 +00:00
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
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/CallSuper;
.end annotation
2019-07-24 11:27:29 +00:00
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
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/CallSuper;
.end annotation
2019-07-24 11:27:29 +00:00
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
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/CallSuper;
.end annotation
2019-07-24 11:27:29 +00:00
invoke-super {p0, p1, p2, p3}, Landroid/app/Service;->onStartCommand(Landroid/content/Intent;II)I
move-result p1
return p1
.end method