granularity level: instruction
.class final Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;
.super Ljava/lang/Object;
.source "ActivityRecreator.java"
.implements Landroid/app/Application$ActivityLifecycleCallbacks;
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/app/ActivityRecreator;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "LifecycleCheckCallbacks"
.end annotation
.field currentlyRecreatingToken:Ljava/lang/Object;
.field private mActivity:Landroid/app/Activity;
.field private mDestroyed:Z
.field private mStarted:Z
.field private mStopQueued:Z
.method constructor <init>(Landroid/app/Activity;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mStarted:Z
iput-boolean v0, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mDestroyed:Z
iput-boolean v0, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mStopQueued:Z
iput-object p1, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mActivity:Landroid/app/Activity;
return-void
.end method
.method public onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
.locals 0
return-void
.end method
.method public onActivityDestroyed(Landroid/app/Activity;)V
.locals 1
iget-object v0, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mActivity:Landroid/app/Activity;
if-ne v0, p1, :cond_0
const/4 p1, 0x0
iput-object p1, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mActivity:Landroid/app/Activity;
const/4 p1, 0x1
iput-boolean p1, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mDestroyed:Z
:cond_0
return-void
.end method
.method public onActivityPaused(Landroid/app/Activity;)V
.locals 1
iget-boolean v0, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mDestroyed:Z
if-eqz v0, :cond_0
iget-boolean v0, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mStopQueued:Z
if-nez v0, :cond_0
iget-boolean v0, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mStarted:Z
if-nez v0, :cond_0
iget-object v0, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->currentlyRecreatingToken:Ljava/lang/Object;
invoke-static {v0, p1}, Landroidx/core/app/ActivityRecreator;->queueOnStopIfNecessary(Ljava/lang/Object;Landroid/app/Activity;)Z
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
iput-boolean p1, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mStopQueued:Z
const/4 p1, 0x0
iput-object p1, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->currentlyRecreatingToken:Ljava/lang/Object;
:cond_0
return-void
.end method
.method public onActivityResumed(Landroid/app/Activity;)V
.locals 0
return-void
.end method
.method public onActivitySaveInstanceState(Landroid/app/Activity;Landroid/os/Bundle;)V
.locals 0
return-void
.end method
.method public onActivityStarted(Landroid/app/Activity;)V
.locals 1
iget-object v0, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mActivity:Landroid/app/Activity;
if-ne v0, p1, :cond_0
const/4 p1, 0x1
iput-boolean p1, p0, Landroidx/core/app/ActivityRecreator$LifecycleCheckCallbacks;->mStarted:Z
:cond_0
return-void
.end method
.method public onActivityStopped(Landroid/app/Activity;)V
.locals 0
return-void
.end method