apkfuckery/com.discord/smali/androidx/fragment/app/FragmentManagerImpl$PopBackStackState.smali
2019-12-06 04:29:40 +01:00

109 lines
3.2 KiB
Smali

.class public Landroidx/fragment/app/FragmentManagerImpl$PopBackStackState;
.super Ljava/lang/Object;
.source "FragmentManagerImpl.java"
# interfaces
.implements Landroidx/fragment/app/FragmentManagerImpl$OpGenerator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/fragment/app/FragmentManagerImpl;
.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/FragmentManagerImpl;
# direct methods
.method public constructor <init>(Landroidx/fragment/app/FragmentManagerImpl;Ljava/lang/String;II)V
.locals 0
iput-object p1, p0, Landroidx/fragment/app/FragmentManagerImpl$PopBackStackState;->this$0:Landroidx/fragment/app/FragmentManagerImpl;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p2, p0, Landroidx/fragment/app/FragmentManagerImpl$PopBackStackState;->mName:Ljava/lang/String;
iput p3, p0, Landroidx/fragment/app/FragmentManagerImpl$PopBackStackState;->mId:I
iput p4, p0, Landroidx/fragment/app/FragmentManagerImpl$PopBackStackState;->mFlags:I
return-void
.end method
# virtual methods
.method public generateOps(Ljava/util/ArrayList;Ljava/util/ArrayList;)Z
.locals 6
.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/FragmentManagerImpl$PopBackStackState;->this$0:Landroidx/fragment/app/FragmentManagerImpl;
iget-object v0, v0, Landroidx/fragment/app/FragmentManagerImpl;->mPrimaryNav:Landroidx/fragment/app/Fragment;
if-eqz v0, :cond_0
iget v1, p0, Landroidx/fragment/app/FragmentManagerImpl$PopBackStackState;->mId:I
if-gez v1, :cond_0
iget-object v1, p0, Landroidx/fragment/app/FragmentManagerImpl$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/FragmentManagerImpl$PopBackStackState;->this$0:Landroidx/fragment/app/FragmentManagerImpl;
iget-object v3, p0, Landroidx/fragment/app/FragmentManagerImpl$PopBackStackState;->mName:Ljava/lang/String;
iget v4, p0, Landroidx/fragment/app/FragmentManagerImpl$PopBackStackState;->mId:I
iget v5, p0, Landroidx/fragment/app/FragmentManagerImpl$PopBackStackState;->mFlags:I
move-object v1, p1
move-object v2, p2
invoke-virtual/range {v0 .. v5}, Landroidx/fragment/app/FragmentManagerImpl;->popBackStackState(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;II)Z
move-result p1
return p1
.end method