137 lines
		
	
	
		
			3.8 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			137 lines
		
	
	
		
			3.8 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
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Landroid/app/Service;-><init>()V
 | |
| 
 | |
|     .line 2
 | |
|     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
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 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
 | |
|     .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
 | |
| 
 | |
|     .line 1
 | |
|     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
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/lifecycle/LifecycleService;->mDispatcher:Landroidx/lifecycle/ServiceLifecycleDispatcher;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroidx/lifecycle/ServiceLifecycleDispatcher;->onServicePreSuperOnCreate()V
 | |
| 
 | |
|     .line 2
 | |
|     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
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/lifecycle/LifecycleService;->mDispatcher:Landroidx/lifecycle/ServiceLifecycleDispatcher;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroidx/lifecycle/ServiceLifecycleDispatcher;->onServicePreSuperOnDestroy()V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-super {p0}, Landroid/app/Service;->onDestroy()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public onStart(Landroid/content/Intent;I)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/Intent;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/CallSuper;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/lifecycle/LifecycleService;->mDispatcher:Landroidx/lifecycle/ServiceLifecycleDispatcher;
 | |
| 
 | |
|     invoke-virtual {v0}, Landroidx/lifecycle/ServiceLifecycleDispatcher;->onServicePreSuperOnStart()V
 | |
| 
 | |
|     .line 2
 | |
|     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
 | |
|     .param p1    # Landroid/content/Intent;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/CallSuper;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1, p2, p3}, Landroid/app/Service;->onStartCommand(Landroid/content/Intent;II)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     return p1
 | |
| .end method
 |