215 lines
5.9 KiB
Smali
215 lines
5.9 KiB
Smali
.class public Landroidx/navigation/e0;
|
|
.super Landroidx/navigation/Navigator;
|
|
.source "NavGraphNavigator.java"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Landroidx/navigation/Navigator$Name;
|
|
value = "navigation"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/navigation/Navigator<",
|
|
"Landroidx/navigation/a0;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroidx/navigation/q0;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/navigation/q0;)V
|
|
.locals 0
|
|
.param p1 # Landroidx/navigation/q0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Landroidx/navigation/Navigator;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p1, p0, Landroidx/navigation/e0;->a:Landroidx/navigation/q0;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic a()Landroidx/navigation/NavDestination;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/navigation/e0;->f()Landroidx/navigation/a0;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic b(Landroidx/navigation/NavDestination;Landroid/os/Bundle;Landroidx/navigation/j0;Landroidx/navigation/Navigator$a;)Landroidx/navigation/NavDestination;
|
|
.locals 0
|
|
.param p1 # Landroidx/navigation/NavDestination;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/os/Bundle;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroidx/navigation/j0;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p4 # Landroidx/navigation/Navigator$a;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
check-cast p1, Landroidx/navigation/a0;
|
|
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/navigation/e0;->g(Landroidx/navigation/a0;Landroid/os/Bundle;Landroidx/navigation/j0;Landroidx/navigation/Navigator$a;)Landroidx/navigation/NavDestination;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public e()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public f()Landroidx/navigation/a0;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/navigation/a0;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/navigation/a0;-><init>(Landroidx/navigation/Navigator;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public g(Landroidx/navigation/a0;Landroid/os/Bundle;Landroidx/navigation/j0;Landroidx/navigation/Navigator$a;)Landroidx/navigation/NavDestination;
|
|
.locals 2
|
|
.param p1 # Landroidx/navigation/a0;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/os/Bundle;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroidx/navigation/j0;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p4 # Landroidx/navigation/Navigator$a;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p1}, Landroidx/navigation/a0;->H()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p1, v0, v1}, Landroidx/navigation/a0;->F(IZ)Landroidx/navigation/NavDestination;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3
|
|
iget-object p1, p0, Landroidx/navigation/e0;->a:Landroidx/navigation/q0;
|
|
|
|
.line 4
|
|
invoke-virtual {v0}, Landroidx/navigation/NavDestination;->l()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
.line 5
|
|
invoke-virtual {p1, v1}, Landroidx/navigation/q0;->e(Ljava/lang/String;)Landroidx/navigation/Navigator;
|
|
|
|
move-result-object p1
|
|
|
|
.line 6
|
|
invoke-virtual {v0, p2}, Landroidx/navigation/NavDestination;->d(Landroid/os/Bundle;)Landroid/os/Bundle;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p1, v0, p2, p3, p4}, Landroidx/navigation/Navigator;->b(Landroidx/navigation/NavDestination;Landroid/os/Bundle;Landroidx/navigation/j0;Landroidx/navigation/Navigator$a;)Landroidx/navigation/NavDestination;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 7
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroidx/navigation/a0;->G()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 8
|
|
new-instance p2, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p3, "navigation destination "
|
|
|
|
const-string p4, " is not a direct child of this NavGraph"
|
|
|
|
invoke-static {p3, p1, p4}, Landroid/support/v4/media/f;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p2
|
|
|
|
.line 9
|
|
:cond_1
|
|
new-instance p2, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p3, "no start destination defined via app:startDestination for "
|
|
|
|
invoke-static {p3}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p3
|
|
|
|
.line 10
|
|
invoke-virtual {p1}, Landroidx/navigation/a0;->h()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p2
|
|
.end method
|