Changes of com.discord v1181

This commit is contained in:
root 2020-07-08 16:44:49 +00:00
parent f52990c3c2
commit 5a8adcbf82
29917 changed files with 1840412 additions and 1765629 deletions

View file

@ -34,6 +34,8 @@
.field public mCancelable:Z
.field public mCreatingDialog:Z
.field public mDialog:Landroid/app/Dialog;
.annotation build Landroidx/annotation/Nullable;
.end annotation
@ -45,6 +47,10 @@
.field public mHandler:Landroid/os/Handler;
.field public mOnCancelListener:Landroid/content/DialogInterface$OnCancelListener;
.field public mOnDismissListener:Landroid/content/DialogInterface$OnDismissListener;
.field public mShownByMe:Z
.field public mShowsDialog:Z
@ -68,6 +74,18 @@
iput-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDismissRunnable:Ljava/lang/Runnable;
new-instance v0, Landroidx/fragment/app/DialogFragment$2;
invoke-direct {v0, p0}, Landroidx/fragment/app/DialogFragment$2;-><init>(Landroidx/fragment/app/DialogFragment;)V
iput-object v0, p0, Landroidx/fragment/app/DialogFragment;->mOnCancelListener:Landroid/content/DialogInterface$OnCancelListener;
new-instance v0, Landroidx/fragment/app/DialogFragment$3;
invoke-direct {v0, p0}, Landroidx/fragment/app/DialogFragment$3;-><init>(Landroidx/fragment/app/DialogFragment;)V
iput-object v0, p0, Landroidx/fragment/app/DialogFragment;->mOnDismissListener:Landroid/content/DialogInterface$OnDismissListener;
const/4 v0, 0x0
iput v0, p0, Landroidx/fragment/app/DialogFragment;->mStyle:I
@ -87,31 +105,23 @@
return-void
.end method
.method public static synthetic access$000(Landroidx/fragment/app/DialogFragment;)Landroid/app/Dialog;
.locals 0
# virtual methods
.method public dismiss()V
.locals 1
iget-object p0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
const/4 v0, 0x0
invoke-virtual {p0, v0, v0}, Landroidx/fragment/app/DialogFragment;->dismissInternal(ZZ)V
return-void
return-object p0
.end method
.method public dismissAllowingStateLoss()V
.locals 2
.method public static synthetic access$100(Landroidx/fragment/app/DialogFragment;)Landroid/content/DialogInterface$OnDismissListener;
.locals 0
const/4 v0, 0x1
iget-object p0, p0, Landroidx/fragment/app/DialogFragment;->mOnDismissListener:Landroid/content/DialogInterface$OnDismissListener;
const/4 v1, 0x0
invoke-virtual {p0, v0, v1}, Landroidx/fragment/app/DialogFragment;->dismissInternal(ZZ)V
return-void
return-object p0
.end method
.method public dismissInternal(ZZ)V
.method private dismissInternal(ZZ)V
.locals 3
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mDismissed:Z
@ -176,7 +186,7 @@
if-ltz p2, :cond_3
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireFragmentManager()Landroidx/fragment/app/FragmentManager;
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getParentFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object p1
@ -191,7 +201,7 @@
goto :goto_1
:cond_3
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireFragmentManager()Landroidx/fragment/app/FragmentManager;
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getParentFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object p2
@ -214,6 +224,30 @@
return-void
.end method
# virtual methods
.method public dismiss()V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, v0, v0}, Landroidx/fragment/app/DialogFragment;->dismissInternal(ZZ)V
return-void
.end method
.method public dismissAllowingStateLoss()V
.locals 2
const/4 v0, 0x1
const/4 v1, 0x0
invoke-direct {p0, v0, v1}, Landroidx/fragment/app/DialogFragment;->dismissInternal(ZZ)V
return-void
.end method
.method public getDialog()Landroid/app/Dialog;
.locals 1
.annotation build Landroidx/annotation/Nullable;
@ -256,6 +290,8 @@
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/MainThread;
.end annotation
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onActivityCreated(Landroid/os/Bundle;)V
@ -270,6 +306,10 @@
move-result-object v0
iget-object v1, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
if-eqz v1, :cond_4
if-eqz v0, :cond_2
invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
@ -314,11 +354,15 @@
iget-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
invoke-virtual {v0, p0}, Landroid/app/Dialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V
iget-object v1, p0, Landroidx/fragment/app/DialogFragment;->mOnCancelListener:Landroid/content/DialogInterface$OnCancelListener;
invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V
iget-object v0, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
invoke-virtual {v0, p0}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V
iget-object v1, p0, Landroidx/fragment/app/DialogFragment;->mOnDismissListener:Landroid/content/DialogInterface$OnDismissListener;
invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V
if-eqz p1, :cond_4
@ -344,6 +388,8 @@
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/MainThread;
.end annotation
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onAttach(Landroid/content/Context;)V
@ -375,6 +421,8 @@
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/MainThread;
.end annotation
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onCreate(Landroid/os/Bundle;)V
@ -458,6 +506,9 @@
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/MainThread;
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
@ -478,6 +529,8 @@
.method public onDestroyView()V
.locals 2
.annotation build Landroidx/annotation/MainThread;
.end annotation
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onDestroyView()V
@ -514,6 +567,8 @@
.method public onDetach()V
.locals 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onDetach()V
@ -546,14 +601,14 @@
const/4 p1, 0x1
invoke-virtual {p0, p1, p1}, Landroidx/fragment/app/DialogFragment;->dismissInternal(ZZ)V
invoke-direct {p0, p1, p1}, Landroidx/fragment/app/DialogFragment;->dismissInternal(ZZ)V
:cond_0
return-void
.end method
.method public onGetLayoutInflater(Landroid/os/Bundle;)Landroid/view/LayoutInflater;
.locals 2
.locals 3
.param p1 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/Nullable;
.end annotation
@ -561,61 +616,66 @@
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-boolean v0, p0, Landroidx/fragment/app/DialogFragment;->mShowsDialog:Z
if-nez v0, :cond_0
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onGetLayoutInflater(Landroid/os/Bundle;)Landroid/view/LayoutInflater;
move-result-object p1
move-result-object v0
return-object p1
iget-boolean v1, p0, Landroidx/fragment/app/DialogFragment;->mShowsDialog:Z
if-eqz v1, :cond_1
iget-boolean v1, p0, Landroidx/fragment/app/DialogFragment;->mCreatingDialog:Z
if-eqz v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x1
const/4 v2, 0x0
:try_start_0
iput-boolean v1, p0, Landroidx/fragment/app/DialogFragment;->mCreatingDialog:Z
invoke-virtual {p0, p1}, Landroidx/fragment/app/DialogFragment;->onCreateDialog(Landroid/os/Bundle;)Landroid/app/Dialog;
move-result-object p1
iput-object p1, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
iget-object p1, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
const-string v0, "layout_inflater"
if-eqz p1, :cond_1
iget v1, p0, Landroidx/fragment/app/DialogFragment;->mStyle:I
invoke-virtual {p0, p1, v1}, Landroidx/fragment/app/DialogFragment;->setupDialog(Landroid/app/Dialog;I)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
iget-object p1, p0, Landroidx/fragment/app/DialogFragment;->mDialog:Landroid/app/Dialog;
iput-boolean v2, p0, Landroidx/fragment/app/DialogFragment;->mCreatingDialog:Z
invoke-virtual {p0}, Landroidx/fragment/app/DialogFragment;->requireDialog()Landroid/app/Dialog;
move-result-object p1
invoke-virtual {p1}, Landroid/app/Dialog;->getContext()Landroid/content/Context;
move-result-object p1
invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
invoke-virtual {v0, p1}, Landroid/view/LayoutInflater;->cloneInContext(Landroid/content/Context;)Landroid/view/LayoutInflater;
move-result-object p1
check-cast p1, Landroid/view/LayoutInflater;
return-object p1
:catchall_0
move-exception p1
iput-boolean v2, p0, Landroidx/fragment/app/DialogFragment;->mCreatingDialog:Z
throw p1
:cond_1
iget-object p1, p0, Landroidx/fragment/app/Fragment;->mHost:Landroidx/fragment/app/FragmentHostCallback;
invoke-virtual {p1}, Landroidx/fragment/app/FragmentHostCallback;->getContext()Landroid/content/Context;
move-result-object p1
invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Landroid/view/LayoutInflater;
return-object p1
:goto_0
return-object v0
.end method
.method public onSaveInstanceState(Landroid/os/Bundle;)V
@ -624,6 +684,8 @@
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/MainThread;
.end annotation
invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onSaveInstanceState(Landroid/os/Bundle;)V
@ -635,8 +697,6 @@
move-result-object v0
if-eqz v0, :cond_0
const-string v1, "android:savedDialogState"
invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
@ -694,6 +754,8 @@
.method public onStart()V
.locals 2
.annotation build Landroidx/annotation/MainThread;
.end annotation
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onStart()V
@ -713,6 +775,8 @@
.method public onStop()V
.locals 1
.annotation build Landroidx/annotation/MainThread;
.end annotation
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onStop()V
@ -797,8 +861,6 @@
iput p1, p0, Landroidx/fragment/app/DialogFragment;->mStyle:I
iget p1, p0, Landroidx/fragment/app/DialogFragment;->mStyle:I
const/4 v0, 0x2
if-eq p1, v0, :cond_0
@ -852,6 +914,8 @@
move-result-object p2
if-eqz p2, :cond_1
const/16 v1, 0x18
invoke-virtual {p2, v1}, Landroid/view/Window;->addFlags(I)V
@ -892,8 +956,6 @@
iput p1, p0, Landroidx/fragment/app/DialogFragment;->mBackStackId:I
iget p1, p0, Landroidx/fragment/app/DialogFragment;->mBackStackId:I
return p1
.end method