apkfuckery/com.discord/smali/androidx/fragment/app/FragmentManagerImpl$PopBackStackState.smali

110 lines
3.2 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/fragment/app/FragmentManagerImpl$PopBackStackState;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
2019-10-07 23:23:22 +00:00
.source "FragmentManagerImpl.java"
2019-07-24 11:27:29 +00:00
# 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;
2019-12-06 03:29:40 +00:00
accessFlags = 0x1
2019-07-24 11:27:29 +00:00
name = "PopBackStackState"
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final mFlags:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mId:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final mName:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/fragment/app/FragmentManagerImpl;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/fragment/app/FragmentManagerImpl;Ljava/lang/String;II)V
2019-07-24 11:27:29 +00:00
.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
2019-12-06 03:29:40 +00:00
iget v1, p0, Landroidx/fragment/app/FragmentManagerImpl$PopBackStackState;->mId:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-gez v1, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-object v1, p0, Landroidx/fragment/app/FragmentManagerImpl$PopBackStackState;->mName:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_0
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
2019-07-24 11:27:29 +00:00
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