apkfuckery/com.discord/smali/androidx/fragment/app/FragmentManagerKt.smali

376 lines
8.8 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Landroidx/fragment/app/FragmentManagerKt;
.super Ljava/lang/Object;
.source "FragmentManager.kt"
# direct methods
.method public static final commit(Landroidx/fragment/app/FragmentManager;ZLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/fragment/app/FragmentManager;",
"Z",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroidx/fragment/app/FragmentTransaction;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_2
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p2, :cond_1
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
move-result-object p0
const-string v0, "beginTransaction()"
2020-09-08 08:16:32 +00:00
invoke-static {p0, v0}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
if-eqz p1, :cond_0
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commitAllowingStateLoss()I
goto :goto_0
:cond_0
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commit()I
:goto_0
return-void
2020-09-08 08:16:32 +00:00
:cond_1
const-string p0, "body"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "$this$commit"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-07-08 16:44:49 +00:00
.end method
2020-09-08 08:16:32 +00:00
.method public static commit$default(Landroidx/fragment/app/FragmentManager;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
2020-07-08 16:44:49 +00:00
.locals 0
and-int/lit8 p3, p3, 0x1
if-eqz p3, :cond_0
const/4 p1, 0x0
:cond_0
2020-09-08 08:16:32 +00:00
const/4 p3, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p2, :cond_2
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
move-result-object p0
const-string p3, "beginTransaction()"
2020-09-08 08:16:32 +00:00
invoke-static {p0, p3}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
if-eqz p1, :cond_1
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commitAllowingStateLoss()I
goto :goto_0
:cond_1
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commit()I
:goto_0
return-void
2020-09-08 08:16:32 +00:00
:cond_2
const-string p0, "body"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p3
:cond_3
const-string p0, "$this$commit"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p3
2020-07-08 16:44:49 +00:00
.end method
.method public static final commitNow(Landroidx/fragment/app/FragmentManager;ZLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/fragment/app/FragmentManager;",
"Z",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroidx/fragment/app/FragmentTransaction;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_2
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p2, :cond_1
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
move-result-object p0
const-string v0, "beginTransaction()"
2020-09-08 08:16:32 +00:00
invoke-static {p0, v0}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
if-eqz p1, :cond_0
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commitNowAllowingStateLoss()V
goto :goto_0
:cond_0
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commitNow()V
:goto_0
return-void
2020-09-08 08:16:32 +00:00
:cond_1
const-string p0, "body"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "$this$commitNow"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-07-08 16:44:49 +00:00
.end method
2020-09-08 08:16:32 +00:00
.method public static commitNow$default(Landroidx/fragment/app/FragmentManager;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
2020-07-08 16:44:49 +00:00
.locals 0
and-int/lit8 p3, p3, 0x1
if-eqz p3, :cond_0
const/4 p1, 0x0
:cond_0
2020-09-08 08:16:32 +00:00
const/4 p3, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_3
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p2, :cond_2
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
move-result-object p0
const-string p3, "beginTransaction()"
2020-09-08 08:16:32 +00:00
invoke-static {p0, p3}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
if-eqz p1, :cond_1
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commitNowAllowingStateLoss()V
goto :goto_0
:cond_1
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commitNow()V
:goto_0
return-void
2020-09-08 08:16:32 +00:00
:cond_2
const-string p0, "body"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p3
:cond_3
const-string p0, "$this$commitNow"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p3
2020-07-08 16:44:49 +00:00
.end method
.method public static final transaction(Landroidx/fragment/app/FragmentManager;ZZLkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/fragment/app/FragmentManager;",
"ZZ",
"Lkotlin/jvm/functions/Function1<",
"-",
"Landroidx/fragment/app/FragmentTransaction;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_4
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p3, :cond_3
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
move-result-object p0
const-string v0, "beginTransaction()"
2020-09-08 08:16:32 +00:00
invoke-static {p0, v0}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-interface {p3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commitNowAllowingStateLoss()V
goto :goto_0
:cond_0
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commitNow()V
goto :goto_0
:cond_1
if-eqz p2, :cond_2
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commitAllowingStateLoss()I
goto :goto_0
:cond_2
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commit()I
:goto_0
return-void
2020-09-08 08:16:32 +00:00
:cond_3
const-string p0, "body"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_4
const-string p0, "$this$transaction"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-07-08 16:44:49 +00:00
.end method
2020-09-08 08:16:32 +00:00
.method public static transaction$default(Landroidx/fragment/app/FragmentManager;ZZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
2020-07-08 16:44:49 +00:00
.locals 1
and-int/lit8 p5, p4, 0x1
const/4 v0, 0x0
if-eqz p5, :cond_0
const/4 p1, 0x0
:cond_0
and-int/lit8 p4, p4, 0x2
if-eqz p4, :cond_1
const/4 p2, 0x0
:cond_1
2020-09-08 08:16:32 +00:00
const/4 p4, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p0, :cond_6
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p3, :cond_5
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
move-result-object p0
const-string p4, "beginTransaction()"
2020-09-08 08:16:32 +00:00
invoke-static {p0, p4}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-interface {p3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
if-eqz p1, :cond_3
if-eqz p2, :cond_2
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commitNowAllowingStateLoss()V
goto :goto_0
:cond_2
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commitNow()V
goto :goto_0
:cond_3
if-eqz p2, :cond_4
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commitAllowingStateLoss()I
goto :goto_0
:cond_4
invoke-virtual {p0}, Landroidx/fragment/app/FragmentTransaction;->commit()I
:goto_0
return-void
2020-09-08 08:16:32 +00:00
:cond_5
const-string p0, "body"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p4
:cond_6
const-string p0, "$this$transaction"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw p4
2020-07-08 16:44:49 +00:00
.end method