Path: blob/master/Compiled_apk/smali/androidx/fragment/app/DialogFragment.smali
4002 views
.class public Landroidx/fragment/app/DialogFragment;
.super Landroidx/fragment/app/Fragment;
.source "DialogFragment.java"
# interfaces
.implements Landroid/content/DialogInterface$OnCancelListener;
.implements Landroid/content/DialogInterface$OnDismissListener;
# static fields
.field private static final SAVED_BACK_STACK_ID:Ljava/lang/String; = "android:backStackId"
.field private static final SAVED_CANCELABLE:Ljava/lang/String; = "android:cancelable"
.field private static final SAVED_DIALOG_STATE_TAG:Ljava/lang/String; = "android:savedDialogState"
.field private static final SAVED_SHOWS_DIALOG:Ljava/lang/String; = "android:showsDialog"
.field private static final SAVED_STYLE:Ljava/lang/String; = "android:style"
.field private static final SAVED_THEME:Ljava/lang/String; = "android:theme"
.field public static final STYLE_NORMAL:I = 0x0
.field public static final STYLE_NO_FRAME:I = 0x2
.field public static final STYLE_NO_INPUT:I = 0x3
.field public static final STYLE_NO_TITLE:I = 0x1
# instance fields
.field mBackStackId:I
.field mCancelable:Z
.field mDialog:Landroid/app/Dialog;
.field mDismissed:Z
.field mShownByMe:Z
.field mShowsDialog:Z
.field mStyle:I
.field mTheme:I
.field mViewDestroyed:Z
# direct methods
.method public constructor <init>()V
.locals 1
.line 101
invoke-direct {p0}, Landroidx/fragment/app/Fragment;-><init>()V
.line 90
const/4 v0, 0x0
iput v0, p0, Landroidx/fragment/app/DialogFragment;->mStyle:I
.line 91
iput v0, p0, Landroidx/fragment/app/DialogFragment;->mTheme:I
.line 92
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mCancelable:Z
.line 93
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShowsDialog:Z
.line 94
const/4 v0, -0x1
iput v0, p0, Landroidx/fragment/app/DialogFragment;->mBackStackId:I
.line 102
return-void
.end method
# virtual methods
.method public dismiss()V
.locals 1
.line 191
const/4 v0, 0x0
invoke-virtual {p0, v0}, Landroidx/fragment/app/DialogFragment;->dismissInternal(Z)V
.line 192
return-void
.end method
.method public dismissAllowingStateLoss()V
.locals 1
.line 201
const/4 v0, 0x1
invoke-virtual {p0, v0}, Landroidx/fragment/app/DialogFragment;->dismissInternal(Z)V
.line 202
return-void
.end method
.method dismissInternal(Z)V
.locals 3
.param p1, "allowStateLoss" # Z
.line 205
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mDismissed:Z
if-eqz v0, :cond_0
.line 206
return-void
.line 208
:cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mDismissed:Z
.line 209
const/4 v1, 0x0
iput-boolean v1, p0, Landroidx/fragment/app/DialogFragment;->mShownByMe:Z
.line 210
iget-object v1, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
if-eqz v1, :cond_1
.line 211
invoke-virtual {v1}, Landroid/app/Dialog;->dismiss()V
.line 213
:cond_1
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mViewDestroyed:Z
.line 214
iget v1, p0, Landroidx/fragment/app/DialogFragment;->mBackStackId:I
if-ltz v1, :cond_2
.line 215
invoke-virtual {p0}, Landroidx/fragment/app/DialogFragment;->getFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v1
iget v2, p0, Landroidx/fragment/app/DialogFragment;->mBackStackId:I
invoke-virtual {v1, v2, v0}, Landroidx/fragment/app/FragmentManager;->popBackStack(II)V
.line 217
const/4 v0, -0x1
iput v0, p0, Landroidx/fragment/app/DialogFragment;->mBackStackId:I
goto :goto_0
.line 219
:cond_2
invoke-virtual {p0}, Landroidx/fragment/app/DialogFragment;->getFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v0
invoke-virtual {v0}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
move-result-object v0
.line 220
.local v0, "ft":Landroidx/fragment/app/FragmentTransaction;
invoke-virtual {v0, p0}, Landroidx/fragment/app/FragmentTransaction;->remove(Landroidx/fragment/app/Fragment;)Landroidx/fragment/app/FragmentTransaction;
.line 221
if-eqz p1, :cond_3
.line 222
invoke-virtual {v0}, Landroidx/fragment/app/FragmentTransaction;->commitAllowingStateLoss()I
goto :goto_0
.line 224
:cond_3
invoke-virtual {v0}, Landroidx/fragment/app/FragmentTransaction;->commit()I
.line 227
.end local v0 # "ft":Landroidx/fragment/app/FragmentTransaction;
:goto_0
return-void
.end method
.method public getDialog()Landroid/app/Dialog;
.locals 1
.line 230
iget-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
return-object v0
.end method
.method public getShowsDialog()Z
.locals 1
.line 284
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShowsDialog:Z
return v0
.end method
.method public getTheme()I
.locals 1
.line 235
iget v0, p0, Landroidx/fragment/app/DialogFragment;->mTheme:I
return v0
.end method
.method public isCancelable()Z
.locals 1
.line 256
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mCancelable:Z
return v0
.end method
.method public onActivityCreated(Landroid/os/Bundle;)V
.locals 4
.param p1, "savedInstanceState" # Landroid/os/Bundle;
.line 401
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onActivityCreated(Landroid/os/Bundle;)V
.line 403
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShowsDialog:Z
if-nez v0, :cond_0
.line 404
return-void
.line 407
:cond_0
invoke-virtual {p0}, Landroidx/fragment/app/DialogFragment;->getView()Landroid/view/View;
move-result-object v0
.line 408
.local v0, "view":Landroid/view/View;
if-eqz v0, :cond_2
.line 409
invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
move-result-object v1
if-nez v1, :cond_1
.line 413
iget-object v1, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
invoke-virtual {v1, v0}, Landroid/app/Dialog;->setContentView(Landroid/view/View;)V
goto :goto_0
.line 410
:cond_1
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "DialogFragment can not be attached to a container view"
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
.line 415
:cond_2
:goto_0
invoke-virtual {p0}, Landroidx/fragment/app/DialogFragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v1
.line 416
.local v1, "activity":Landroid/app/Activity;
if-eqz v1, :cond_3
.line 417
iget-object v2, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
invoke-virtual {v2, v1}, Landroid/app/Dialog;->setOwnerActivity(Landroid/app/Activity;)V
.line 419
:cond_3
iget-object v2, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
iget-boolean v3, p0, Landroidx/fragment/app/DialogFragment;->mCancelable:Z
invoke-virtual {v2, v3}, Landroid/app/Dialog;->setCancelable(Z)V
.line 420
iget-object v2, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
invoke-virtual {v2, p0}, Landroid/app/Dialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V
.line 421
iget-object v2, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
invoke-virtual {v2, p0}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V
.line 422
if-eqz p1, :cond_4
.line 423
const-string v2, "android:savedDialogState"
invoke-virtual {p1, v2}, Landroid/os/Bundle;->getBundle(Ljava/lang/String;)Landroid/os/Bundle;
move-result-object v2
.line 424
.local v2, "dialogState":Landroid/os/Bundle;
if-eqz v2, :cond_4
.line 425
iget-object v3, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
invoke-virtual {v3, v2}, Landroid/app/Dialog;->onRestoreInstanceState(Landroid/os/Bundle;)V
.line 428
.end local v2 # "dialogState":Landroid/os/Bundle;
:cond_4
return-void
.end method
.method public onAttach(Landroid/content/Context;)V
.locals 1
.param p1, "context" # Landroid/content/Context;
.line 289
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onAttach(Landroid/content/Context;)V
.line 290
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShownByMe:Z
if-nez v0, :cond_0
.line 293
const/4 v0, 0x0
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mDismissed:Z
.line 295
:cond_0
return-void
.end method
.method public onCancel(Landroid/content/DialogInterface;)V
.locals 0
.param p1, "dialog" # Landroid/content/DialogInterface;
.line 386
return-void
.end method
.method public onCreate(Landroid/os/Bundle;)V
.locals 3
.param p1, "savedInstanceState" # Landroid/os/Bundle;
.line 310
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onCreate(Landroid/os/Bundle;)V
.line 312
iget v0, p0, Landroidx/fragment/app/DialogFragment;->mContainerId:I
const/4 v1, 0x1
const/4 v2, 0x0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShowsDialog:Z
.line 314
if-eqz p1, :cond_1
.line 315
const-string v0, "android:style"
invoke-virtual {p1, v0, v2}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/fragment/app/DialogFragment;->mStyle:I
.line 316
const-string v0, "android:theme"
invoke-virtual {p1, v0, v2}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/fragment/app/DialogFragment;->mTheme:I
.line 317
const-string v0, "android:cancelable"
invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z
move-result v0
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mCancelable:Z
.line 318
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShowsDialog:Z
const-string v1, "android:showsDialog"
invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z
move-result v0
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShowsDialog:Z
.line 319
const/4 v0, -0x1
const-string v1, "android:backStackId"
invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
move-result v0
iput v0, p0, Landroidx/fragment/app/DialogFragment;->mBackStackId:I
.line 321
:cond_1
return-void
.end method
.method public onCreateDialog(Landroid/os/Bundle;)Landroid/app/Dialog;
.locals 3
.param p1, "savedInstanceState" # Landroid/os/Bundle;
.line 381
new-instance v0, Landroid/app/Dialog;
invoke-virtual {p0}, Landroidx/fragment/app/DialogFragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object v1
invoke-virtual {p0}, Landroidx/fragment/app/DialogFragment;->getTheme()I
move-result v2
invoke-direct {v0, v1, v2}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V
return-object v0
.end method
.method public onDestroyView()V
.locals 2
.line 479
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onDestroyView()V
.line 480
iget-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
if-eqz v0, :cond_0
.line 484
const/4 v1, 0x1
iput-boolean v1, p0, Landroidx/fragment/app/DialogFragment;->mViewDestroyed:Z
.line 485
invoke-virtual {v0}, Landroid/app/Dialog;->dismiss()V
.line 486
const/4 v0, 0x0
iput-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
.line 488
:cond_0
return-void
.end method
.method public onDetach()V
.locals 1
.line 299
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onDetach()V
.line 300
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShownByMe:Z
if-nez v0, :cond_0
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mDismissed:Z
if-nez v0, :cond_0
.line 304
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mDismissed:Z
.line 306
:cond_0
return-void
.end method
.method public onDismiss(Landroid/content/DialogInterface;)V
.locals 1
.param p1, "dialog" # Landroid/content/DialogInterface;
.line 390
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mViewDestroyed:Z
if-nez v0, :cond_0
.line 395
const/4 v0, 0x1
invoke-virtual {p0, v0}, Landroidx/fragment/app/DialogFragment;->dismissInternal(Z)V
.line 397
:cond_0
return-void
.end method
.method public onGetLayoutInflater(Landroid/os/Bundle;)Landroid/view/LayoutInflater;
.locals 3
.param p1, "savedInstanceState" # Landroid/os/Bundle;
.line 326
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShowsDialog:Z
if-nez v0, :cond_0
.line 327
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onGetLayoutInflater(Landroid/os/Bundle;)Landroid/view/LayoutInflater;
move-result-object v0
return-object v0
.line 330
:cond_0
invoke-virtual {p0, p1}, Landroidx/fragment/app/DialogFragment;->onCreateDialog(Landroid/os/Bundle;)Landroid/app/Dialog;
move-result-object v0
iput-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
.line 332
iget-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
const-string v1, "layout_inflater"
if-eqz v0, :cond_1
.line 333
iget v2, p0, Landroidx/fragment/app/DialogFragment;->mStyle:I
invoke-virtual {p0, v0, v2}, Landroidx/fragment/app/DialogFragment;->setupDialog(Landroid/app/Dialog;I)V
.line 335
iget-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
invoke-virtual {v0}, Landroid/app/Dialog;->getContext()Landroid/content/Context;
move-result-object v0
invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/LayoutInflater;
return-object v0
.line 338
:cond_1
iget-object v0, p0, Landroidx/fragment/app/DialogFragment;->mHost:Landroidx/fragment/app/FragmentHostCallback;
invoke-virtual {v0}, Landroidx/fragment/app/FragmentHostCallback;->getContext()Landroid/content/Context;
move-result-object v0
invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/LayoutInflater;
return-object v0
.end method
.method public onSaveInstanceState(Landroid/os/Bundle;)V
.locals 2
.param p1, "outState" # Landroid/os/Bundle;
.line 442
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onSaveInstanceState(Landroid/os/Bundle;)V
.line 443
iget-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
if-eqz v0, :cond_0
.line 444
invoke-virtual {v0}, Landroid/app/Dialog;->onSaveInstanceState()Landroid/os/Bundle;
move-result-object v0
.line 445
.local v0, "dialogState":Landroid/os/Bundle;
if-eqz v0, :cond_0
.line 446
const-string v1, "android:savedDialogState"
invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
.line 449
.end local v0 # "dialogState":Landroid/os/Bundle;
:cond_0
iget v0, p0, Landroidx/fragment/app/DialogFragment;->mStyle:I
if-eqz v0, :cond_1
.line 450
const-string v1, "android:style"
invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
.line 452
:cond_1
iget v0, p0, Landroidx/fragment/app/DialogFragment;->mTheme:I
if-eqz v0, :cond_2
.line 453
const-string v1, "android:theme"
invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
.line 455
:cond_2
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mCancelable:Z
if-nez v0, :cond_3
.line 456
const-string v1, "android:cancelable"
invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
.line 458
:cond_3
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShowsDialog:Z
if-nez v0, :cond_4
.line 459
const-string v1, "android:showsDialog"
invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
.line 461
:cond_4
iget v0, p0, Landroidx/fragment/app/DialogFragment;->mBackStackId:I
const/4 v1, -0x1
if-eq v0, v1, :cond_5
.line 462
const-string v1, "android:backStackId"
invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
.line 464
:cond_5
return-void
.end method
.method public onStart()V
.locals 2
.line 432
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onStart()V
.line 434
iget-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
if-eqz v0, :cond_0
.line 435
const/4 v1, 0x0
iput-boolean v1, p0, Landroidx/fragment/app/DialogFragment;->mViewDestroyed:Z
.line 436
invoke-virtual {v0}, Landroid/app/Dialog;->show()V
.line 438
:cond_0
return-void
.end method
.method public onStop()V
.locals 1
.line 468
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onStop()V
.line 469
iget-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
if-eqz v0, :cond_0
.line 470
invoke-virtual {v0}, Landroid/app/Dialog;->hide()V
.line 472
:cond_0
return-void
.end method
.method public setCancelable(Z)V
.locals 1
.param p1, "cancelable" # Z
.line 248
iput-boolean p1, p0, Landroidx/fragment/app/DialogFragment;->mCancelable:Z
.line 249
iget-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
if-eqz v0, :cond_0
invoke-virtual {v0, p1}, Landroid/app/Dialog;->setCancelable(Z)V
.line 250
:cond_0
return-void
.end method
.method public setShowsDialog(Z)V
.locals 0
.param p1, "showsDialog" # Z
.line 277
iput-boolean p1, p0, Landroidx/fragment/app/DialogFragment;->mShowsDialog:Z
.line 278
return-void
.end method
.method public setStyle(II)V
.locals 2
.param p1, "style" # I
.param p2, "theme" # I
.line 119
iput p1, p0, Landroidx/fragment/app/DialogFragment;->mStyle:I
.line 120
iget v0, p0, Landroidx/fragment/app/DialogFragment;->mStyle:I
const/4 v1, 0x2
if-eq v0, v1, :cond_0
const/4 v1, 0x3
if-ne v0, v1, :cond_1
.line 121
:cond_0
const v0, 0x1030059
iput v0, p0, Landroidx/fragment/app/DialogFragment;->mTheme:I
.line 123
:cond_1
if-eqz p2, :cond_2
.line 124
iput p2, p0, Landroidx/fragment/app/DialogFragment;->mTheme:I
.line 126
:cond_2
return-void
.end method
.method public setupDialog(Landroid/app/Dialog;I)V
.locals 3
.param p1, "dialog" # Landroid/app/Dialog;
.param p2, "style" # I
.line 345
const/4 v0, 0x1
if-eq p2, v0, :cond_1
const/4 v1, 0x2
if-eq p2, v1, :cond_1
const/4 v1, 0x3
if-eq p2, v1, :cond_0
goto :goto_0
.line 347
:cond_0
invoke-virtual {p1}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;
move-result-object v1
const/16 v2, 0x18
invoke-virtual {v1, v2}, Landroid/view/Window;->addFlags(I)V
.line 353
:cond_1
invoke-virtual {p1, v0}, Landroid/app/Dialog;->requestWindowFeature(I)Z
.line 355
:goto_0
return-void
.end method
.method public show(Landroidx/fragment/app/FragmentTransaction;Ljava/lang/String;)I
.locals 2
.param p1, "transaction" # Landroidx/fragment/app/FragmentTransaction;
.param p2, "tag" # Ljava/lang/String;
.line 157
const/4 v0, 0x0
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mDismissed:Z
.line 158
const/4 v1, 0x1
iput-boolean v1, p0, Landroidx/fragment/app/DialogFragment;->mShownByMe:Z
.line 159
invoke-virtual {p1, p0, p2}, Landroidx/fragment/app/FragmentTransaction;->add(Landroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
.line 160
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mViewDestroyed:Z
.line 161
invoke-virtual {p1}, Landroidx/fragment/app/FragmentTransaction;->commit()I
move-result v0
iput v0, p0, Landroidx/fragment/app/DialogFragment;->mBackStackId:I
.line 162
iget v0, p0, Landroidx/fragment/app/DialogFragment;->mBackStackId:I
return v0
.end method
.method public show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
.locals 1
.param p1, "manager" # Landroidx/fragment/app/FragmentManager;
.param p2, "tag" # Ljava/lang/String;
.line 140
const/4 v0, 0x0
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mDismissed:Z
.line 141
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShownByMe:Z
.line 142
invoke-virtual {p1}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
move-result-object v0
.line 143
.local v0, "ft":Landroidx/fragment/app/FragmentTransaction;
invoke-virtual {v0, p0, p2}, Landroidx/fragment/app/FragmentTransaction;->add(Landroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
.line 144
invoke-virtual {v0}, Landroidx/fragment/app/FragmentTransaction;->commit()I
.line 145
return-void
.end method
.method public showNow(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
.locals 1
.param p1, "manager" # Landroidx/fragment/app/FragmentManager;
.param p2, "tag" # Ljava/lang/String;
.line 177
const/4 v0, 0x0
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mDismissed:Z
.line 178
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShownByMe:Z
.line 179
invoke-virtual {p1}, Landroidx/fragment/app/FragmentManager;->beginTransaction()Landroidx/fragment/app/FragmentTransaction;
move-result-object v0
.line 180
.local v0, "ft":Landroidx/fragment/app/FragmentTransaction;
invoke-virtual {v0, p0, p2}, Landroidx/fragment/app/FragmentTransaction;->add(Landroidx/fragment/app/Fragment;Ljava/lang/String;)Landroidx/fragment/app/FragmentTransaction;
.line 181
invoke-virtual {v0}, Landroidx/fragment/app/FragmentTransaction;->commitNow()V
.line 182
return-void
.end method