apkfuckery/com.discord/smali/androidx/fragment/app/FragmentManager$PopBackStackState.smali
2020-11-12 02:11:44 +00:00

121 lines
3.6 KiB
Smali

.class public Landroidx/fragment/app/FragmentManager$PopBackStackState;
.super Ljava/lang/Object;
.source "FragmentManager.java"
# interfaces
.implements Landroidx/fragment/app/FragmentManager$OpGenerator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/fragment/app/FragmentManager;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "PopBackStackState"
.end annotation
# instance fields
.field public final mFlags:I
.field public final mId:I
.field public final mName:Ljava/lang/String;
.field public final synthetic this$0:Landroidx/fragment/app/FragmentManager;
# direct methods
.method public constructor <init>(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;II)V
.locals 0
.param p1 # Landroidx/fragment/app/FragmentManager;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
iput-object p1, p0, Landroidx/fragment/app/FragmentManager$PopBackStackState;->this$0:Landroidx/fragment/app/FragmentManager;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p2, p0, Landroidx/fragment/app/FragmentManager$PopBackStackState;->mName:Ljava/lang/String;
iput p3, p0, Landroidx/fragment/app/FragmentManager$PopBackStackState;->mId:I
iput p4, p0, Landroidx/fragment/app/FragmentManager$PopBackStackState;->mFlags:I
return-void
.end method
# virtual methods
.method public generateOps(Ljava/util/ArrayList;Ljava/util/ArrayList;)Z
.locals 6
.param p1 # Ljava/util/ArrayList;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/util/ArrayList;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/ArrayList<",
"Landroidx/fragment/app/BackStackRecord;",
">;",
"Ljava/util/ArrayList<",
"Ljava/lang/Boolean;",
">;)Z"
}
.end annotation
iget-object v0, p0, Landroidx/fragment/app/FragmentManager$PopBackStackState;->this$0:Landroidx/fragment/app/FragmentManager;
iget-object v0, v0, Landroidx/fragment/app/FragmentManager;->mPrimaryNav:Landroidx/fragment/app/Fragment;
if-eqz v0, :cond_0
iget v1, p0, Landroidx/fragment/app/FragmentManager$PopBackStackState;->mId:I
if-gez v1, :cond_0
iget-object v1, p0, Landroidx/fragment/app/FragmentManager$PopBackStackState;->mName:Ljava/lang/String;
if-nez v1, :cond_0
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v0
invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->popBackStackImmediate()Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x0
return p1
:cond_0
iget-object v0, p0, Landroidx/fragment/app/FragmentManager$PopBackStackState;->this$0:Landroidx/fragment/app/FragmentManager;
iget-object v3, p0, Landroidx/fragment/app/FragmentManager$PopBackStackState;->mName:Ljava/lang/String;
iget v4, p0, Landroidx/fragment/app/FragmentManager$PopBackStackState;->mId:I
iget v5, p0, Landroidx/fragment/app/FragmentManager$PopBackStackState;->mFlags:I
move-object v1, p1
move-object v2, p2
invoke-virtual/range {v0 .. v5}, Landroidx/fragment/app/FragmentManager;->popBackStackState(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;II)Z
move-result p1
return p1
.end method