545 lines
15 KiB
Smali
545 lines
15 KiB
Smali
.class public final Lu2/f;
|
|
.super Landroidx/navigation/e0;
|
|
.source "DynamicGraphNavigator.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Landroidx/navigation/Navigator$Name;
|
|
value = "navigation"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lu2/f$a;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nDynamicGraphNavigator.kt\nKotlin\n*S Kotlin\n*F\n+ 1 DynamicGraphNavigator.kt\nandroidx/navigation/dynamicfeatures/DynamicGraphNavigator\n*L\n1#1,223:1\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000X\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0008\n\u0002\u0010\u0008\n\u0002\u0008\u0006\n\u0002\u0010!\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0005\u0008\u0007\u0018\u00002\u00020\u0001:\u0001+B\u0017\u0012\u0006\u0010&\u001a\u00020%\u0012\u0006\u0010(\u001a\u00020\'\u00a2\u0006\u0004\u0008)\u0010*J0\u0010\u000b\u001a\u0004\u0018\u00010\n2\u0006\u0010\u0003\u001a\u00020\u00022\u0008\u0010\u0005\u001a\u0004\u0018\u00010\u00042\u0008\u0010\u0007\u001a\u0004\u0018\u00010\u00062\u0008\u0010\t\u001a\u0004\u0018\u00010\u0008H\u0016J\u0008\u0010\r\u001a\u00020\u000cH\u0016J\u0014\u0010\u0011\u001a\u00020\u00102\u000c\u0010\u000f\u001a\u0008\u0012\u0004\u0012\u00020\n0\u000eJ#\u0010\u0014\u001a\u0004\u0018\u00010\n2\u0006\u0010\u0012\u001a\u00020\u000c2\u0008\u0010\u0013\u001a\u0004\u0018\u00010\u0004H\u0000\u00a2\u0006\u0004\u0008\u0014\u0010\u0015J\n\u0010\u0016\u001a\u0004\u0018\u00010\u0004H\u0016J\u0010\u0010\u0018\u001a\u00020\u00102\u0006\u0010\u0017\u001a\u00020\u0004H\u0016J\u0010\u0010\u001a\u001a\u00020\u00192\u0006\u0010\u0012\u001a\u00020\u000cH\u0002R4\u0010\u001c\u001a\n\u0012\u0004\u0012\u00020\n\u0018\u00010\u000e2\u000e\u0010\u001b\u001a\n\u0012\u0004\u0012\u00020\n\u0018\u00010\u000e8\u0000@BX\u0080\u000e\u00a2\u0006\u000c\n\u0004\u0008\u001c\u0010\u001d\u001a\u0004\u0008\u001e\u0010\u001fR \u0010!\u001a\u0008\u0012\u0004\u0012\u00020\u000c0 8\u0000X\u0080\u0004\u00a2\u0006\u000c\n\u0004\u0008!\u0010\"\u001a\u0004\u0008#\u0010$\u00a8\u0006,"
|
|
}
|
|
d2 = {
|
|
"Lu2/f;",
|
|
"Landroidx/navigation/e0;",
|
|
"Landroidx/navigation/a0;",
|
|
"destination",
|
|
"Landroid/os/Bundle;",
|
|
"args",
|
|
"Landroidx/navigation/j0;",
|
|
"navOptions",
|
|
"Landroidx/navigation/Navigator$a;",
|
|
"navigatorExtras",
|
|
"Landroidx/navigation/NavDestination;",
|
|
"g",
|
|
"Lu2/f$a;",
|
|
"h",
|
|
"Lkotlin/Function0;",
|
|
"progressDestinationSupplier",
|
|
"Lkotlin/d1;",
|
|
"l",
|
|
"dynamicNavGraph",
|
|
"progressArgs",
|
|
"m",
|
|
"(Lu2/f$a;Landroid/os/Bundle;)Landroidx/navigation/NavDestination;",
|
|
"d",
|
|
"savedState",
|
|
"c",
|
|
"",
|
|
"k",
|
|
"<set-?>",
|
|
"defaultProgressDestinationSupplier",
|
|
"Lej/a;",
|
|
"i",
|
|
"()Lej/a;",
|
|
"",
|
|
"destinationsWithoutDefaultProgressDestination",
|
|
"Ljava/util/List;",
|
|
"j",
|
|
"()Ljava/util/List;",
|
|
"Landroidx/navigation/q0;",
|
|
"navigatorProvider",
|
|
"Lu2/k;",
|
|
"installManager",
|
|
"<init>",
|
|
"(Landroidx/navigation/q0;Lu2/k;)V",
|
|
"a",
|
|
"navigation-dynamic-features-runtime_release"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public b:Lej/a;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lej/a<",
|
|
"+",
|
|
"Landroidx/navigation/NavDestination;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final c:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lu2/f$a;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final d:Landroidx/navigation/q0;
|
|
|
|
.field public final e:Lu2/k;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/navigation/q0;Lu2/k;)V
|
|
.locals 1
|
|
.param p1 # Landroidx/navigation/q0;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Lu2/k;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "navigatorProvider"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "installManager"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1}, Landroidx/navigation/e0;-><init>(Landroidx/navigation/q0;)V
|
|
|
|
iput-object p1, p0, Lu2/f;->d:Landroidx/navigation/q0;
|
|
|
|
iput-object p2, p0, Lu2/f;->e:Lu2/k;
|
|
|
|
.line 2
|
|
new-instance p1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object p1, p0, Lu2/f;->c:Ljava/util/List;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic a()Landroidx/navigation/NavDestination;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lu2/f;->h()Lu2/f$a;
|
|
|
|
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
|
|
|
|
.line 1
|
|
check-cast p1, Landroidx/navigation/a0;
|
|
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Lu2/f;->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 c(Landroid/os/Bundle;)V
|
|
.locals 1
|
|
.param p1 # Landroid/os/Bundle;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "savedState"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroidx/navigation/Navigator;->c(Landroid/os/Bundle;)V
|
|
|
|
.line 2
|
|
iget-object p1, p0, Lu2/f;->c:Ljava/util/List;
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p1
|
|
|
|
.line 3
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lu2/f$a;
|
|
|
|
.line 5
|
|
invoke-virtual {p0, v0}, Lu2/f;->k(Lu2/f$a;)I
|
|
|
|
.line 6
|
|
invoke-interface {p1}, Ljava/util/Iterator;->remove()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public d()Landroid/os/Bundle;
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
sget-object v0, Landroid/os/Bundle;->EMPTY:Landroid/os/Bundle;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic f()Landroidx/navigation/a0;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lu2/f;->h()Lu2/f$a;
|
|
|
|
move-result-object v0
|
|
|
|
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 3
|
|
.param p1 # Landroidx/navigation/a0;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/os/Bundle;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroidx/navigation/j0;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p4 # Landroidx/navigation/Navigator$a;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
const-string v0, "destination"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
instance-of v0, p4, Lu2/e;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
move-object v0, p4
|
|
|
|
check-cast v0, Lu2/e;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
:goto_0
|
|
instance-of v1, p1, Lu2/f$a;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 3
|
|
move-object v1, p1
|
|
|
|
check-cast v1, Lu2/f$a;
|
|
|
|
invoke-virtual {v1}, Lu2/f$a;->K()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 4
|
|
iget-object v2, p0, Lu2/f;->e:Lu2/k;
|
|
|
|
invoke-virtual {v2, v1}, Lu2/k;->c(Ljava/lang/String;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 5
|
|
iget-object p3, p0, Lu2/f;->e:Lu2/k;
|
|
|
|
invoke-virtual {p3, p1, p2, v0, v1}, Lu2/k;->d(Landroidx/navigation/NavDestination;Landroid/os/Bundle;Lu2/e;Ljava/lang/String;)Landroidx/navigation/NavDestination;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 6
|
|
invoke-virtual {v0}, Lu2/e;->a()Landroidx/navigation/Navigator$a;
|
|
|
|
move-result-object p4
|
|
|
|
.line 7
|
|
:cond_2
|
|
invoke-super {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 h()Lu2/f$a;
|
|
.locals 2
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Lu2/f$a;
|
|
|
|
iget-object v1, p0, Lu2/f;->d:Landroidx/navigation/q0;
|
|
|
|
invoke-direct {v0, p0, v1}, Lu2/f$a;-><init>(Lu2/f;Landroidx/navigation/q0;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final i()Lej/a;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lej/a<",
|
|
"Landroidx/navigation/NavDestination;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lu2/f;->b:Lej/a;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final j()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lu2/f$a;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lu2/f;->c:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final k(Lu2/f$a;)I
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lu2/f;->b:Lej/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-interface {v0}, Lej/a;->invoke()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/navigation/NavDestination;
|
|
|
|
.line 3
|
|
invoke-virtual {p1, v0}, Landroidx/navigation/a0;->B(Landroidx/navigation/NavDestination;)V
|
|
|
|
.line 4
|
|
invoke-virtual {v0}, Landroidx/navigation/NavDestination;->j()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p1, v1}, Lu2/f$a;->P(I)V
|
|
|
|
.line 5
|
|
invoke-virtual {v0}, Landroidx/navigation/NavDestination;->j()I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
.line 6
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v0, "You must set a default progress destination using DynamicNavGraphNavigator.installDefaultProgressDestination or pass in an DynamicInstallMonitor in the DynamicExtras.\nAlternatively, when using NavHostFragment make sure to swap it with DynamicNavHostFragment. This will take care of setting the default progress destination for you."
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final l(Lej/a;)V
|
|
.locals 1
|
|
.param p1 # Lej/a;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lej/a<",
|
|
"+",
|
|
"Landroidx/navigation/NavDestination;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "progressDestinationSupplier"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lu2/f;->b:Lej/a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final m(Lu2/f$a;Landroid/os/Bundle;)Landroidx/navigation/NavDestination;
|
|
.locals 2
|
|
.param p1 # Lu2/f$a;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/os/Bundle;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
const-string v0, "dynamicNavGraph"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p1}, Lu2/f$a;->N()I
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Lu2/f;->k(Lu2/f$a;)I
|
|
|
|
move-result v0
|
|
|
|
.line 3
|
|
:cond_0
|
|
invoke-virtual {p1, v0}, Landroidx/navigation/a0;->E(I)Landroidx/navigation/NavDestination;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
const-string v0, "dynamicNavGraph.findNode\u2026dule of this navigator.\")"
|
|
|
|
.line 4
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 5
|
|
iget-object v0, p0, Lu2/f;->d:Landroidx/navigation/q0;
|
|
|
|
.line 6
|
|
invoke-virtual {p1}, Landroidx/navigation/NavDestination;->l()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
.line 7
|
|
invoke-virtual {v0, v1}, Landroidx/navigation/q0;->e(Ljava/lang/String;)Landroidx/navigation/Navigator;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "navigatorProvider.getNav\u2026n.navigatorName\n )"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/f0;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 8
|
|
invoke-virtual {v0, p1, p2, v1, v1}, 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 9
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p2, "The progress destination id must be set and accessible to the module of this navigator."
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|