93 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			93 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class Landroidx/lifecycle/SavedStateHandleController$1;
 | |
| .super Ljava/lang/Object;
 | |
| .source "SavedStateHandleController.java"
 | |
| 
 | |
| # interfaces
 | |
| .implements Landroidx/lifecycle/LifecycleEventObserver;
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingMethod;
 | |
|     value = Landroidx/lifecycle/SavedStateHandleController;->tryToAddRecreator(Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x1
 | |
|     name = null
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public final synthetic val$lifecycle:Landroidx/lifecycle/Lifecycle;
 | |
| 
 | |
| .field public final synthetic val$registry:Landroidx/savedstate/SavedStateRegistry;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Landroidx/lifecycle/Lifecycle;Landroidx/savedstate/SavedStateRegistry;)V
 | |
|     .locals 0
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x1010,
 | |
|             0x1010
 | |
|         }
 | |
|         names = {
 | |
|             "val$lifecycle",
 | |
|             "val$registry"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Landroidx/lifecycle/SavedStateHandleController$1;->val$lifecycle:Landroidx/lifecycle/Lifecycle;
 | |
| 
 | |
|     iput-object p2, p0, Landroidx/lifecycle/SavedStateHandleController$1;->val$registry:Landroidx/savedstate/SavedStateRegistry;
 | |
| 
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroidx/lifecycle/LifecycleOwner;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroidx/lifecycle/Lifecycle$Event;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/MethodParameters;
 | |
|         accessFlags = {
 | |
|             0x0,
 | |
|             0x0
 | |
|         }
 | |
|         names = {
 | |
|             "source",
 | |
|             "event"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     sget-object p1, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
 | |
| 
 | |
|     if-ne p2, p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object p1, p0, Landroidx/lifecycle/SavedStateHandleController$1;->val$lifecycle:Landroidx/lifecycle/Lifecycle;
 | |
| 
 | |
|     invoke-virtual {p1, p0}, Landroidx/lifecycle/Lifecycle;->removeObserver(Landroidx/lifecycle/LifecycleObserver;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p0, Landroidx/lifecycle/SavedStateHandleController$1;->val$registry:Landroidx/savedstate/SavedStateRegistry;
 | |
| 
 | |
|     const-class p2, Landroidx/lifecycle/SavedStateHandleController$OnRecreation;
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Landroidx/savedstate/SavedStateRegistry;->f(Ljava/lang/Class;)V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 |