545 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			545 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Landroidx/navigation/c$a;
 | |
| .super Landroidx/navigation/NavDestination;
 | |
| .source "ActivityNavigator.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation build Landroidx/navigation/NavDestination$ClassType;
 | |
|     value = Landroid/app/Activity;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/EnclosingClass;
 | |
|     value = Landroidx/navigation/c;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x9
 | |
|     name = "a"
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public j:Landroid/content/Intent;
 | |
| 
 | |
| .field public k:Ljava/lang/String;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Landroidx/navigation/Navigator;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroidx/navigation/Navigator;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Landroidx/navigation/Navigator<",
 | |
|             "+",
 | |
|             "Landroidx/navigation/c$a;",
 | |
|             ">;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0, p1}, Landroidx/navigation/NavDestination;-><init>(Landroidx/navigation/Navigator;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroidx/navigation/q0;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroidx/navigation/q0;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     const-class v0, Landroidx/navigation/c;
 | |
| 
 | |
|     invoke-virtual {p1, v0}, Landroidx/navigation/q0;->d(Ljava/lang/Class;)Landroidx/navigation/Navigator;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-direct {p0, p1}, Landroidx/navigation/c$a;-><init>(Landroidx/navigation/Navigator;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public final A()Ljava/lang/String;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-virtual {v0}, Landroid/content/Intent;->getAction()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public final B()Landroid/content/ComponentName;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-virtual {v0}, Landroid/content/Intent;->getComponent()Landroid/content/ComponentName;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public final C()Landroid/net/Uri;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-virtual {v0}, Landroid/content/Intent;->getData()Landroid/net/Uri;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public final D()Ljava/lang/String;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->k:Ljava/lang/String;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public final E()Landroid/content/Intent;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public final F()Ljava/lang/String;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-virtual {v0}, Landroid/content/Intent;->getPackage()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public final G(Ljava/lang/String;)Landroidx/navigation/c$a;
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/String;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Landroid/content/Intent;
 | |
| 
 | |
|     invoke-direct {v0}, Landroid/content/Intent;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public final H(Landroid/content/ComponentName;)Landroidx/navigation/c$a;
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/content/ComponentName;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Landroid/content/Intent;
 | |
| 
 | |
|     invoke-direct {v0}, Landroid/content/Intent;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public final I(Landroid/net/Uri;)Landroidx/navigation/c$a;
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/net/Uri;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Landroid/content/Intent;
 | |
| 
 | |
|     invoke-direct {v0}, Landroid/content/Intent;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public final J(Ljava/lang/String;)Landroidx/navigation/c$a;
 | |
|     .locals 0
 | |
|     .param p1    # Ljava/lang/String;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Landroidx/navigation/c$a;->k:Ljava/lang/String;
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public final K(Landroid/content/Intent;)Landroidx/navigation/c$a;
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/content/Intent;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public final L(Ljava/lang/String;)Landroidx/navigation/c$a;
 | |
|     .locals 1
 | |
|     .param p1    # Ljava/lang/String;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Landroid/content/Intent;
 | |
| 
 | |
|     invoke-direct {v0}, Landroid/content/Intent;-><init>()V
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Landroidx/navigation/c$a;->j:Landroid/content/Intent;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public q(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
|     .locals 3
 | |
|     .param p1    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/util/AttributeSet;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/CallSuper;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1, p2}, Landroidx/navigation/NavDestination;->q(Landroid/content/Context;Landroid/util/AttributeSet;)V
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     sget-object v1, Landroidx/navigation/R$styleable;->ActivityNavigator:[I
 | |
| 
 | |
|     invoke-virtual {v0, p2, v1}, Landroid/content/res/Resources;->obtainAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     .line 3
 | |
|     sget v0, Landroidx/navigation/R$styleable;->ActivityNavigator_targetPackage:I
 | |
| 
 | |
|     invoke-virtual {p2, v0}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     const-string v2, "${applicationId}"
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v0, v2, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     invoke-virtual {p0, v0}, Landroidx/navigation/c$a;->L(Ljava/lang/String;)Landroidx/navigation/c$a;
 | |
| 
 | |
|     .line 7
 | |
|     sget v0, Landroidx/navigation/R$styleable;->ActivityNavigator_android_name:I
 | |
| 
 | |
|     invoke-virtual {p2, v0}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v0, v1}, Ljava/lang/String;->charAt(I)C
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     const/16 v2, 0x2e
 | |
| 
 | |
|     if-ne v1, v2, :cond_1
 | |
| 
 | |
|     .line 9
 | |
|     new-instance v1, Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
 | |
| 
 | |
|     invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 10
 | |
|     :cond_1
 | |
|     new-instance v1, Landroid/content/ComponentName;
 | |
| 
 | |
|     invoke-direct {v1, p1, v0}, Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/String;)V
 | |
| 
 | |
|     invoke-virtual {p0, v1}, Landroidx/navigation/c$a;->H(Landroid/content/ComponentName;)Landroidx/navigation/c$a;
 | |
| 
 | |
|     .line 11
 | |
|     :cond_2
 | |
|     sget p1, Landroidx/navigation/R$styleable;->ActivityNavigator_action:I
 | |
| 
 | |
|     invoke-virtual {p2, p1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {p0, p1}, Landroidx/navigation/c$a;->G(Ljava/lang/String;)Landroidx/navigation/c$a;
 | |
| 
 | |
|     .line 12
 | |
|     sget p1, Landroidx/navigation/R$styleable;->ActivityNavigator_data:I
 | |
| 
 | |
|     invoke-virtual {p2, p1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-eqz p1, :cond_3
 | |
| 
 | |
|     .line 13
 | |
|     invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {p0, p1}, Landroidx/navigation/c$a;->I(Landroid/net/Uri;)Landroidx/navigation/c$a;
 | |
| 
 | |
|     .line 14
 | |
|     :cond_3
 | |
|     sget p1, Landroidx/navigation/R$styleable;->ActivityNavigator_dataPattern:I
 | |
| 
 | |
|     invoke-virtual {p2, p1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {p0, p1}, Landroidx/navigation/c$a;->J(Ljava/lang/String;)Landroidx/navigation/c$a;
 | |
| 
 | |
|     .line 15
 | |
|     invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public toString()Ljava/lang/String;
 | |
|     .locals 3
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Landroidx/navigation/c$a;->B()Landroid/content/ComponentName;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v1, Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-super {p0}, Landroidx/navigation/NavDestination;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     const-string v2, " class="
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v0}, Landroid/content/ComponentName;->getClassName()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 6
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Landroidx/navigation/c$a;->A()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     const-string v2, " action="
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     .line 9
 | |
|     :cond_1
 | |
|     :goto_0
 | |
|     invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public z()Z
 | |
|     .locals 1
 | |
| 
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     return v0
 | |
| .end method
 |