apkfuckery/com.discord/smali/androidx/fragment/app/FragmentActivity$HostCallbacks.smali

390 lines
12 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/fragment/app/FragmentActivity$HostCallbacks;
2019-07-24 11:27:29 +00:00
.super Landroidx/fragment/app/FragmentHostCallback;
.source "FragmentActivity.java"
2019-10-07 23:23:22 +00:00
# interfaces
.implements Landroidx/lifecycle/ViewModelStoreOwner;
2019-12-06 03:29:40 +00:00
.implements Landroidx/activity/OnBackPressedDispatcherOwner;
2019-10-07 23:23:22 +00:00
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/fragment/app/FragmentActivity;
.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 = "HostCallbacks"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/fragment/app/FragmentHostCallback<",
"Landroidx/fragment/app/FragmentActivity;",
2019-10-07 23:23:22 +00:00
">;",
2019-12-06 03:29:40 +00:00
"Landroidx/lifecycle/ViewModelStoreOwner;",
"Landroidx/activity/OnBackPressedDispatcherOwner;"
2019-07-24 11:27:29 +00:00
}
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/fragment/app/FragmentActivity;
2019-07-24 11:27:29 +00:00
# direct methods
.method public constructor <init>(Landroidx/fragment/app/FragmentActivity;)V
.locals 0
iput-object p1, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
invoke-direct {p0, p1}, Landroidx/fragment/app/FragmentHostCallback;-><init>(Landroidx/fragment/app/FragmentActivity;)V
return-void
.end method
# virtual methods
2019-10-07 23:23:22 +00:00
.method public getLifecycle()Landroidx/lifecycle/Lifecycle;
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/NonNull;
.end annotation
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
iget-object v0, v0, Landroidx/fragment/app/FragmentActivity;->mFragmentLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
return-object v0
.end method
.method public getOnBackPressedDispatcher()Landroidx/activity/OnBackPressedDispatcher;
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/NonNull;
.end annotation
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroidx/activity/ComponentActivity;->getOnBackPressedDispatcher()Landroidx/activity/OnBackPressedDispatcher;
2019-10-07 23:23:22 +00:00
move-result-object v0
return-object v0
.end method
.method public getViewModelStore()Landroidx/lifecycle/ViewModelStore;
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/NonNull;
.end annotation
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroidx/activity/ComponentActivity;->getViewModelStore()Landroidx/lifecycle/ViewModelStore;
2019-10-07 23:23:22 +00:00
move-result-object v0
return-object v0
.end method
2019-07-24 11:27:29 +00:00
.method public onAttachFragment(Landroidx/fragment/app/Fragment;)V
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # Landroidx/fragment/app/Fragment;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
invoke-virtual {v0, p1}, Landroidx/fragment/app/FragmentActivity;->onAttachFragment(Landroidx/fragment/app/Fragment;)V
return-void
.end method
.method public onDump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/io/FileDescriptor;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p3 # Ljava/io/PrintWriter;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # [Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
invoke-virtual {v0, p1, p2, p3, p4}, Landroidx/fragment/app/FragmentActivity;->dump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
return-void
.end method
.method public onFindViewById(I)Landroid/view/View;
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/Nullable;
.end annotation
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p1}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;
2019-07-24 11:27:29 +00:00
move-result-object p1
return-object p1
.end method
.method public onGetHost()Landroidx/fragment/app/FragmentActivity;
.locals 1
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
return-object v0
.end method
.method public bridge synthetic onGetHost()Ljava/lang/Object;
.locals 1
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->onGetHost()Landroidx/fragment/app/FragmentActivity;
move-result-object v0
return-object v0
.end method
.method public onGetLayoutInflater()Landroid/view/LayoutInflater;
.locals 2
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/NonNull;
.end annotation
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroid/app/Activity;->getLayoutInflater()Landroid/view/LayoutInflater;
2019-07-24 11:27:29 +00:00
move-result-object v0
iget-object v1, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
invoke-virtual {v0, v1}, Landroid/view/LayoutInflater;->cloneInContext(Landroid/content/Context;)Landroid/view/LayoutInflater;
move-result-object v0
return-object v0
.end method
.method public onGetWindowAnimations()I
.locals 1
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;
2019-07-24 11:27:29 +00:00
move-result-object v0
if-nez v0, :cond_0
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
invoke-virtual {v0}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;
move-result-object v0
iget v0, v0, Landroid/view/WindowManager$LayoutParams;->windowAnimations:I
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return v0
.end method
.method public onHasView()Z
.locals 1
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;
2019-07-24 11:27:29 +00:00
move-result-object v0
if-eqz v0, :cond_0
invoke-virtual {v0}, Landroid/view/Window;->peekDecorView()Landroid/view/View;
move-result-object v0
if-eqz v0, :cond_0
const/4 v0, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return v0
.end method
.method public onHasWindowAnimations()Z
.locals 1
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;
2019-07-24 11:27:29 +00:00
move-result-object v0
if-eqz v0, :cond_0
const/4 v0, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return v0
.end method
.method public onRequestPermissionsFromFragment(Landroidx/fragment/app/Fragment;[Ljava/lang/String;I)V
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # Landroidx/fragment/app/Fragment;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # [Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
invoke-virtual {v0, p1, p2, p3}, Landroidx/fragment/app/FragmentActivity;->requestPermissionsFromFragment(Landroidx/fragment/app/Fragment;[Ljava/lang/String;I)V
return-void
.end method
.method public onShouldSaveFragmentState(Landroidx/fragment/app/Fragment;)Z
.locals 0
2019-12-06 03:29:40 +00:00
.param p1 # Landroidx/fragment/app/Fragment;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
iget-object p1, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Landroid/app/Activity;->isFinishing()Z
2019-07-24 11:27:29 +00:00
move-result p1
2019-12-06 03:29:40 +00:00
xor-int/lit8 p1, p1, 0x1
2019-07-24 11:27:29 +00:00
return p1
.end method
.method public onShouldShowRequestPermissionRationale(Ljava/lang/String;)Z
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
invoke-static {v0, p1}, Landroidx/core/app/ActivityCompat;->shouldShowRequestPermissionRationale(Landroid/app/Activity;Ljava/lang/String;)Z
move-result p1
return p1
.end method
.method public onStartActivityFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/Intent;I)V
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # Landroidx/fragment/app/Fragment;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
invoke-virtual {v0, p1, p2, p3}, Landroidx/fragment/app/FragmentActivity;->startActivityFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/Intent;I)V
return-void
.end method
.method public onStartActivityFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/Intent;ILandroid/os/Bundle;)V
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # Landroidx/fragment/app/Fragment;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
invoke-virtual {v0, p1, p2, p3, p4}, Landroidx/fragment/app/FragmentActivity;->startActivityFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/Intent;ILandroid/os/Bundle;)V
return-void
.end method
.method public onStartIntentSenderFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V
.locals 10
2019-12-06 03:29:40 +00:00
.param p1 # Landroidx/fragment/app/Fragment;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # Landroid/content/Intent;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/content/IntentSender$SendIntentException;
}
.end annotation
move-object v0, p0
iget-object v1, v0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
move-object v2, p1
move-object v3, p2
move v4, p3
move-object v5, p4
move v6, p5
move/from16 v7, p6
move/from16 v8, p7
move-object/from16 v9, p8
invoke-virtual/range {v1 .. v9}, Landroidx/fragment/app/FragmentActivity;->startIntentSenderFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V
return-void
.end method
.method public onSupportInvalidateOptionsMenu()V
.locals 1
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;->this$0:Landroidx/fragment/app/FragmentActivity;
invoke-virtual {v0}, Landroidx/fragment/app/FragmentActivity;->supportInvalidateOptionsMenu()V
return-void
.end method