Rabbit-R1/android (non root)/smali/smali_classes2/androidx/fragment/app/FragmentActivity.smali
2024-05-21 17:08:36 -04:00

953 lines
30 KiB
Smali

.class public Landroidx/fragment/app/FragmentActivity;
.super Landroidx/activity/ComponentActivity;
.source "FragmentActivity.java"
# interfaces
.implements Landroidx/core/app/ActivityCompat$OnRequestPermissionsResultCallback;
.implements Landroidx/core/app/ActivityCompat$RequestPermissionsRequestCodeValidator;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/fragment/app/FragmentActivity$HostCallbacks;
}
.end annotation
# static fields
.field static final LIFECYCLE_TAG:Ljava/lang/String; = "android:support:lifecycle"
# instance fields
.field mCreated:Z
.field final mFragmentLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
.field final mFragments:Landroidx/fragment/app/FragmentController;
.field mResumed:Z
.field mStopped:Z
# direct methods
.method public constructor <init>()V
.locals 1
.line 107
invoke-direct {p0}, Landroidx/activity/ComponentActivity;-><init>()V
.line 88
new-instance v0, Landroidx/fragment/app/FragmentActivity$HostCallbacks;
invoke-direct {v0, p0}, Landroidx/fragment/app/FragmentActivity$HostCallbacks;-><init>(Landroidx/fragment/app/FragmentActivity;)V
invoke-static {v0}, Landroidx/fragment/app/FragmentController;->createController(Landroidx/fragment/app/FragmentHostCallback;)Landroidx/fragment/app/FragmentController;
move-result-object v0
iput-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 95
new-instance v0, Landroidx/lifecycle/LifecycleRegistry;
invoke-direct {v0, p0}, Landroidx/lifecycle/LifecycleRegistry;-><init>(Landroidx/lifecycle/LifecycleOwner;)V
iput-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragmentLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/fragment/app/FragmentActivity;->mStopped:Z
.line 108
invoke-direct {p0}, Landroidx/fragment/app/FragmentActivity;->init()V
return-void
.end method
.method public constructor <init>(I)V
.locals 0
.line 123
invoke-direct {p0, p1}, Landroidx/activity/ComponentActivity;-><init>(I)V
.line 88
new-instance p1, Landroidx/fragment/app/FragmentActivity$HostCallbacks;
invoke-direct {p1, p0}, Landroidx/fragment/app/FragmentActivity$HostCallbacks;-><init>(Landroidx/fragment/app/FragmentActivity;)V
invoke-static {p1}, Landroidx/fragment/app/FragmentController;->createController(Landroidx/fragment/app/FragmentHostCallback;)Landroidx/fragment/app/FragmentController;
move-result-object p1
iput-object p1, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 95
new-instance p1, Landroidx/lifecycle/LifecycleRegistry;
invoke-direct {p1, p0}, Landroidx/lifecycle/LifecycleRegistry;-><init>(Landroidx/lifecycle/LifecycleOwner;)V
iput-object p1, p0, Landroidx/fragment/app/FragmentActivity;->mFragmentLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
const/4 p1, 0x1
iput-boolean p1, p0, Landroidx/fragment/app/FragmentActivity;->mStopped:Z
.line 124
invoke-direct {p0}, Landroidx/fragment/app/FragmentActivity;->init()V
return-void
.end method
.method private init()V
.locals 3
.line 128
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getSavedStateRegistry()Landroidx/savedstate/SavedStateRegistry;
move-result-object v0
new-instance v1, Landroidx/fragment/app/FragmentActivity$$ExternalSyntheticLambda0;
invoke-direct {v1, p0}, Landroidx/fragment/app/FragmentActivity$$ExternalSyntheticLambda0;-><init>(Landroidx/fragment/app/FragmentActivity;)V
const-string v2, "android:support:lifecycle"
invoke-virtual {v0, v2, v1}, Landroidx/savedstate/SavedStateRegistry;->registerSavedStateProvider(Ljava/lang/String;Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;)V
.line 135
new-instance v0, Landroidx/fragment/app/FragmentActivity$$ExternalSyntheticLambda1;
invoke-direct {v0, p0}, Landroidx/fragment/app/FragmentActivity$$ExternalSyntheticLambda1;-><init>(Landroidx/fragment/app/FragmentActivity;)V
invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentActivity;->addOnConfigurationChangedListener(Landroidx/core/util/Consumer;)V
.line 138
new-instance v0, Landroidx/fragment/app/FragmentActivity$$ExternalSyntheticLambda2;
invoke-direct {v0, p0}, Landroidx/fragment/app/FragmentActivity$$ExternalSyntheticLambda2;-><init>(Landroidx/fragment/app/FragmentActivity;)V
invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentActivity;->addOnNewIntentListener(Landroidx/core/util/Consumer;)V
.line 139
new-instance v0, Landroidx/fragment/app/FragmentActivity$$ExternalSyntheticLambda3;
invoke-direct {v0, p0}, Landroidx/fragment/app/FragmentActivity$$ExternalSyntheticLambda3;-><init>(Landroidx/fragment/app/FragmentActivity;)V
invoke-virtual {p0, v0}, Landroidx/fragment/app/FragmentActivity;->addOnContextAvailableListener(Landroidx/activity/contextaware/OnContextAvailableListener;)V
return-void
.end method
.method private static markState(Landroidx/fragment/app/FragmentManager;Landroidx/lifecycle/Lifecycle$State;)Z
.locals 5
.line 769
invoke-virtual {p0}, Landroidx/fragment/app/FragmentManager;->getFragments()Ljava/util/List;
move-result-object p0
.line 770
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p0
const/4 v0, 0x0
:cond_0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_4
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroidx/fragment/app/Fragment;
if-nez v1, :cond_1
goto :goto_0
.line 774
:cond_1
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->getHost()Ljava/lang/Object;
move-result-object v2
if-eqz v2, :cond_2
.line 775
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->getChildFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v2
.line 776
invoke-static {v2, p1}, Landroidx/fragment/app/FragmentActivity;->markState(Landroidx/fragment/app/FragmentManager;Landroidx/lifecycle/Lifecycle$State;)Z
move-result v2
or-int/2addr v0, v2
.line 778
:cond_2
iget-object v2, v1, Landroidx/fragment/app/Fragment;->mViewLifecycleOwner:Landroidx/fragment/app/FragmentViewLifecycleOwner;
const/4 v3, 0x1
if-eqz v2, :cond_3
iget-object v2, v1, Landroidx/fragment/app/Fragment;->mViewLifecycleOwner:Landroidx/fragment/app/FragmentViewLifecycleOwner;
.line 779
invoke-virtual {v2}, Landroidx/fragment/app/FragmentViewLifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
move-result-object v2
invoke-virtual {v2}, Landroidx/lifecycle/Lifecycle;->getCurrentState()Landroidx/lifecycle/Lifecycle$State;
move-result-object v2
sget-object v4, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State;
invoke-virtual {v2, v4}, Landroidx/lifecycle/Lifecycle$State;->isAtLeast(Landroidx/lifecycle/Lifecycle$State;)Z
move-result v2
if-eqz v2, :cond_3
.line 780
iget-object v0, v1, Landroidx/fragment/app/Fragment;->mViewLifecycleOwner:Landroidx/fragment/app/FragmentViewLifecycleOwner;
invoke-virtual {v0, p1}, Landroidx/fragment/app/FragmentViewLifecycleOwner;->setCurrentState(Landroidx/lifecycle/Lifecycle$State;)V
move v0, v3
.line 783
:cond_3
iget-object v2, v1, Landroidx/fragment/app/Fragment;->mLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
invoke-virtual {v2}, Landroidx/lifecycle/LifecycleRegistry;->getCurrentState()Landroidx/lifecycle/Lifecycle$State;
move-result-object v2
sget-object v4, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State;
invoke-virtual {v2, v4}, Landroidx/lifecycle/Lifecycle$State;->isAtLeast(Landroidx/lifecycle/Lifecycle$State;)Z
move-result v2
if-eqz v2, :cond_0
.line 784
iget-object v0, v1, Landroidx/fragment/app/Fragment;->mLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
invoke-virtual {v0, p1}, Landroidx/lifecycle/LifecycleRegistry;->setCurrentState(Landroidx/lifecycle/Lifecycle$State;)V
move v0, v3
goto :goto_0
:cond_4
return v0
.end method
# virtual methods
.method final dispatchFragmentsOnCreateView(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 247
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/fragment/app/FragmentController;->onCreateView(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
move-result-object p0
return-object p0
.end method
.method public dump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
.locals 2
.line 410
invoke-super {p0, p1, p2, p3, p4}, Landroidx/activity/ComponentActivity;->dump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
.line 412
invoke-virtual {p0, p4}, Landroidx/fragment/app/FragmentActivity;->shouldDumpInternalState([Ljava/lang/String;)Z
move-result v0
if-nez v0, :cond_0
return-void
.line 416
:cond_0
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
const-string v0, "Local FragmentActivity "
invoke-virtual {p3, v0}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
.line 417
invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result v0
invoke-static {v0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {p3, v0}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
const-string v0, " State:"
.line 418
invoke-virtual {p3, v0}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V
.line 419
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, " "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
.line 420
invoke-virtual {p3, v0}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
const-string v1, "mCreated="
invoke-virtual {p3, v1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
iget-boolean v1, p0, Landroidx/fragment/app/FragmentActivity;->mCreated:Z
.line 421
invoke-virtual {p3, v1}, Ljava/io/PrintWriter;->print(Z)V
const-string v1, " mResumed="
invoke-virtual {p3, v1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
iget-boolean v1, p0, Landroidx/fragment/app/FragmentActivity;->mResumed:Z
.line 422
invoke-virtual {p3, v1}, Ljava/io/PrintWriter;->print(Z)V
const-string v1, " mStopped="
invoke-virtual {p3, v1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
iget-boolean v1, p0, Landroidx/fragment/app/FragmentActivity;->mStopped:Z
.line 423
invoke-virtual {p3, v1}, Ljava/io/PrintWriter;->print(Z)V
.line 425
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getApplication()Landroid/app/Application;
move-result-object v1
if-eqz v1, :cond_1
.line 426
invoke-static {p0}, Landroidx/loader/app/LoaderManager;->getInstance(Landroidx/lifecycle/LifecycleOwner;)Landroidx/loader/app/LoaderManager;
move-result-object v1
invoke-virtual {v1, v0, p2, p3, p4}, Landroidx/loader/app/LoaderManager;->dump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
:cond_1
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 428
invoke-virtual {p0}, Landroidx/fragment/app/FragmentController;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object p0
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/fragment/app/FragmentManager;->dump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
return-void
.end method
.method public getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 461
invoke-virtual {p0}, Landroidx/fragment/app/FragmentController;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object p0
return-object p0
.end method
.method public getSupportLoaderManager()Landroidx/loader/app/LoaderManager;
.locals 0
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 471
invoke-static {p0}, Landroidx/loader/app/LoaderManager;->getInstance(Landroidx/lifecycle/LifecycleOwner;)Landroidx/loader/app/LoaderManager;
move-result-object p0
return-object p0
.end method
.method synthetic lambda$init$0$androidx-fragment-app-FragmentActivity()Landroid/os/Bundle;
.locals 1
.line 129
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->markFragmentsCreated()V
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragmentLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
.line 130
sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
invoke-virtual {p0, v0}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
.line 131
new-instance p0, Landroid/os/Bundle;
invoke-direct {p0}, Landroid/os/Bundle;-><init>()V
return-object p0
.end method
.method synthetic lambda$init$1$androidx-fragment-app-FragmentActivity(Landroid/content/res/Configuration;)V
.locals 0
.line 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 135
invoke-virtual {p0}, Landroidx/fragment/app/FragmentController;->noteStateNotSaved()V
return-void
.end method
.method synthetic lambda$init$2$androidx-fragment-app-FragmentActivity(Landroid/content/Intent;)V
.locals 0
.line 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 138
invoke-virtual {p0}, Landroidx/fragment/app/FragmentController;->noteStateNotSaved()V
return-void
.end method
.method synthetic lambda$init$3$androidx-fragment-app-FragmentActivity(Landroid/content/Context;)V
.locals 0
.line 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
const/4 p1, 0x0
.line 139
invoke-virtual {p0, p1}, Landroidx/fragment/app/FragmentController;->attachHost(Landroidx/fragment/app/Fragment;)V
return-void
.end method
.method markFragmentsCreated()V
.locals 2
.line 763
:cond_0
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v0
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->CREATED:Landroidx/lifecycle/Lifecycle$State;
invoke-static {v0, v1}, Landroidx/fragment/app/FragmentActivity;->markState(Landroidx/fragment/app/FragmentManager;Landroidx/lifecycle/Lifecycle$State;)Z
move-result v0
if-nez v0, :cond_0
return-void
.end method
.method protected onActivityResult(IILandroid/content/Intent;)V
.locals 1
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 150
invoke-virtual {v0}, Landroidx/fragment/app/FragmentController;->noteStateNotSaved()V
.line 151
invoke-super {p0, p1, p2, p3}, Landroidx/activity/ComponentActivity;->onActivityResult(IILandroid/content/Intent;)V
return-void
.end method
.method public onAttachFragment(Landroidx/fragment/app/Fragment;)V
.locals 0
.annotation runtime Ljava/lang/Deprecated;
.end annotation
return-void
.end method
.method protected onCreate(Landroid/os/Bundle;)V
.locals 1
.line 216
invoke-super {p0, p1}, Landroidx/activity/ComponentActivity;->onCreate(Landroid/os/Bundle;)V
iget-object p1, p0, Landroidx/fragment/app/FragmentActivity;->mFragmentLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
.line 218
sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event;
invoke-virtual {p1, v0}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 219
invoke-virtual {p0}, Landroidx/fragment/app/FragmentController;->dispatchCreate()V
return-void
.end method
.method public onCreateView(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
.locals 1
.line 226
invoke-virtual {p0, p1, p2, p3, p4}, Landroidx/fragment/app/FragmentActivity;->dispatchFragmentsOnCreateView(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
move-result-object v0
if-nez v0, :cond_0
.line 228
invoke-super {p0, p1, p2, p3, p4}, Landroidx/activity/ComponentActivity;->onCreateView(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
move-result-object p0
return-object p0
:cond_0
return-object v0
.end method
.method public onCreateView(Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
.locals 1
const/4 v0, 0x0
.line 237
invoke-virtual {p0, v0, p1, p2, p3}, Landroidx/fragment/app/FragmentActivity;->dispatchFragmentsOnCreateView(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
move-result-object v0
if-nez v0, :cond_0
.line 239
invoke-super {p0, p1, p2, p3}, Landroidx/activity/ComponentActivity;->onCreateView(Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
move-result-object p0
return-object p0
:cond_0
return-object v0
.end method
.method protected onDestroy()V
.locals 1
.line 257
invoke-super {p0}, Landroidx/activity/ComponentActivity;->onDestroy()V
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 258
invoke-virtual {v0}, Landroidx/fragment/app/FragmentController;->dispatchDestroy()V
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragmentLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
.line 259
sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
invoke-virtual {p0, v0}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
return-void
.end method
.method public onMenuItemSelected(ILandroid/view/MenuItem;)Z
.locals 1
.line 264
invoke-super {p0, p1, p2}, Landroidx/activity/ComponentActivity;->onMenuItemSelected(ILandroid/view/MenuItem;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p0, 0x1
return p0
:cond_0
const/4 v0, 0x6
if-ne p1, v0, :cond_1
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 269
invoke-virtual {p0, p2}, Landroidx/fragment/app/FragmentController;->dispatchContextItemSelected(Landroid/view/MenuItem;)Z
move-result p0
return p0
:cond_1
const/4 p0, 0x0
return p0
.end method
.method protected onPause()V
.locals 1
.line 282
invoke-super {p0}, Landroidx/activity/ComponentActivity;->onPause()V
const/4 v0, 0x0
iput-boolean v0, p0, Landroidx/fragment/app/FragmentActivity;->mResumed:Z
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 284
invoke-virtual {v0}, Landroidx/fragment/app/FragmentController;->dispatchPause()V
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragmentLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
.line 285
sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event;
invoke-virtual {p0, v0}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
return-void
.end method
.method protected onPostResume()V
.locals 0
.line 321
invoke-super {p0}, Landroidx/activity/ComponentActivity;->onPostResume()V
.line 322
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->onResumeFragments()V
return-void
.end method
.method public onRequestPermissionsResult(I[Ljava/lang/String;[I)V
.locals 1
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 488
invoke-virtual {v0}, Landroidx/fragment/app/FragmentController;->noteStateNotSaved()V
.line 489
invoke-super {p0, p1, p2, p3}, Landroidx/activity/ComponentActivity;->onRequestPermissionsResult(I[Ljava/lang/String;[I)V
return-void
.end method
.method protected onResume()V
.locals 1
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 308
invoke-virtual {v0}, Landroidx/fragment/app/FragmentController;->noteStateNotSaved()V
.line 309
invoke-super {p0}, Landroidx/activity/ComponentActivity;->onResume()V
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/fragment/app/FragmentActivity;->mResumed:Z
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 311
invoke-virtual {p0}, Landroidx/fragment/app/FragmentController;->execPendingActions()Z
return-void
.end method
.method protected onResumeFragments()V
.locals 2
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragmentLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
.line 332
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event;
invoke-virtual {v0, v1}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 333
invoke-virtual {p0}, Landroidx/fragment/app/FragmentController;->dispatchResume()V
return-void
.end method
.method protected onStart()V
.locals 2
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 343
invoke-virtual {v0}, Landroidx/fragment/app/FragmentController;->noteStateNotSaved()V
.line 344
invoke-super {p0}, Landroidx/activity/ComponentActivity;->onStart()V
const/4 v0, 0x0
iput-boolean v0, p0, Landroidx/fragment/app/FragmentActivity;->mStopped:Z
iget-boolean v0, p0, Landroidx/fragment/app/FragmentActivity;->mCreated:Z
if-nez v0, :cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/fragment/app/FragmentActivity;->mCreated:Z
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 350
invoke-virtual {v0}, Landroidx/fragment/app/FragmentController;->dispatchActivityCreated()V
:cond_0
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 353
invoke-virtual {v0}, Landroidx/fragment/app/FragmentController;->execPendingActions()Z
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragmentLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
.line 357
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
invoke-virtual {v0, v1}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 358
invoke-virtual {p0}, Landroidx/fragment/app/FragmentController;->dispatchStart()V
return-void
.end method
.method public onStateNotSaved()V
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 296
invoke-virtual {p0}, Landroidx/fragment/app/FragmentController;->noteStateNotSaved()V
return-void
.end method
.method protected onStop()V
.locals 1
.line 368
invoke-super {p0}, Landroidx/activity/ComponentActivity;->onStop()V
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/fragment/app/FragmentActivity;->mStopped:Z
.line 371
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->markFragmentsCreated()V
iget-object v0, p0, Landroidx/fragment/app/FragmentActivity;->mFragments:Landroidx/fragment/app/FragmentController;
.line 373
invoke-virtual {v0}, Landroidx/fragment/app/FragmentController;->dispatchStop()V
iget-object p0, p0, Landroidx/fragment/app/FragmentActivity;->mFragmentLifecycleRegistry:Landroidx/lifecycle/LifecycleRegistry;
.line 374
sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
invoke-virtual {p0, v0}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
return-void
.end method
.method public setEnterSharedElementCallback(Landroidx/core/app/SharedElementCallback;)V
.locals 0
.line 177
invoke-static {p0, p1}, Landroidx/core/app/ActivityCompat;->setEnterSharedElementCallback(Landroid/app/Activity;Landroidx/core/app/SharedElementCallback;)V
return-void
.end method
.method public setExitSharedElementCallback(Landroidx/core/app/SharedElementCallback;)V
.locals 0
.line 190
invoke-static {p0, p1}, Landroidx/core/app/ActivityCompat;->setExitSharedElementCallback(Landroid/app/Activity;Landroidx/core/app/SharedElementCallback;)V
return-void
.end method
.method public startActivityFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/Intent;I)V
.locals 1
const/4 v0, 0x0
.line 504
invoke-virtual {p0, p1, p2, p3, v0}, Landroidx/fragment/app/FragmentActivity;->startActivityFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/Intent;ILandroid/os/Bundle;)V
return-void
.end method
.method public startActivityFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/Intent;ILandroid/os/Bundle;)V
.locals 1
const/4 v0, -0x1
if-ne p3, v0, :cond_0
.line 525
invoke-static {p0, p2, v0, p4}, Landroidx/core/app/ActivityCompat;->startActivityForResult(Landroid/app/Activity;Landroid/content/Intent;ILandroid/os/Bundle;)V
return-void
.line 530
:cond_0
invoke-virtual {p1, p2, p3, p4}, Landroidx/fragment/app/Fragment;->startActivityForResult(Landroid/content/Intent;ILandroid/os/Bundle;)V
return-void
.end method
.method public startIntentSenderFromFragment(Landroidx/fragment/app/Fragment;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V
.locals 9
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/content/IntentSender$SendIntentException;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
const/4 v0, -0x1
move v3, p3
if-ne v3, v0, :cond_0
move-object v1, p0
move-object v2, p2
move v3, p3
move-object v4, p4
move v5, p5
move v6, p6
move/from16 v7, p7
move-object/from16 v8, p8
.line 564
invoke-static/range {v1 .. v8}, Landroidx/core/app/ActivityCompat;->startIntentSenderForResult(Landroid/app/Activity;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V
return-void
.line 568
:cond_0
invoke-virtual/range {p1 .. p8}, Landroidx/fragment/app/Fragment;->startIntentSenderForResult(Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V
return-void
.end method
.method public supportFinishAfterTransition()V
.locals 0
.line 165
invoke-static {p0}, Landroidx/core/app/ActivityCompat;->finishAfterTransition(Landroid/app/Activity;)V
return-void
.end method
.method public supportInvalidateOptionsMenu()V
.locals 0
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 393
invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->invalidateMenu()V
return-void
.end method
.method public supportPostponeEnterTransition()V
.locals 0
.line 198
invoke-static {p0}, Landroidx/core/app/ActivityCompat;->postponeEnterTransition(Landroid/app/Activity;)V
return-void
.end method
.method public supportStartPostponedEnterTransition()V
.locals 0
.line 206
invoke-static {p0}, Landroidx/core/app/ActivityCompat;->startPostponedEnterTransition(Landroid/app/Activity;)V
return-void
.end method
.method public final validateRequestPermissionsRequestCode(I)V
.locals 0
.annotation runtime Ljava/lang/Deprecated;
.end annotation
return-void
.end method