.class public final Lb0/c$c;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Landroid/app/Application$ActivityLifecycleCallbacks;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lb0/c;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = "c"
.end annotation


# instance fields
.field public r:Ljava/lang/Object;

.field public s:Landroid/app/Activity;

.field public final t:I

.field public u:Z

.field public v:Z

.field public w:Z


# direct methods
.method public constructor <init>(Landroid/app/Activity;)V
    .registers 3

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lb0/c$c;->u:Z

    iput-boolean v0, p0, Lb0/c$c;->v:Z

    iput-boolean v0, p0, Lb0/c$c;->w:Z

    iput-object p1, p0, Lb0/c$c;->s:Landroid/app/Activity;

    invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I

    move-result p1

    iput p1, p0, Lb0/c$c;->t:I

    return-void
.end method


# virtual methods
.method public onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
    .registers 3

    return-void
.end method

.method public onActivityDestroyed(Landroid/app/Activity;)V
    .registers 3

    iget-object v0, p0, Lb0/c$c;->s:Landroid/app/Activity;

    if-ne v0, p1, :cond_a

    const/4 p1, 0x0

    iput-object p1, p0, Lb0/c$c;->s:Landroid/app/Activity;

    const/4 p1, 0x1

    iput-boolean p1, p0, Lb0/c$c;->v:Z

    :cond_a
    return-void
.end method

.method public onActivityPaused(Landroid/app/Activity;)V
    .registers 7

    iget-boolean v0, p0, Lb0/c$c;->v:Z

    if-eqz v0, :cond_42

    iget-boolean v0, p0, Lb0/c$c;->w:Z

    if-nez v0, :cond_42

    iget-boolean v0, p0, Lb0/c$c;->u:Z

    if-nez v0, :cond_42

    iget-object v0, p0, Lb0/c$c;->r:Ljava/lang/Object;

    iget v1, p0, Lb0/c$c;->t:I

    const/4 v2, 0x0

    const/4 v3, 0x1

    .line 1
    :try_start_12
    sget-object v4, Lb0/c;->c:Ljava/lang/reflect/Field;

    invoke-virtual {v4, p1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    if-ne v4, v0, :cond_3b

    invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I

    move-result v0

    if-eq v0, v1, :cond_21

    goto :goto_3b

    :cond_21
    sget-object v0, Lb0/c;->b:Ljava/lang/reflect/Field;

    invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    sget-object v0, Lb0/c;->g:Landroid/os/Handler;

    new-instance v1, Lb0/d;

    invoke-direct {v1, p1, v4}, Lb0/d;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->postAtFrontOfQueue(Ljava/lang/Runnable;)Z
    :try_end_31
    .catchall {:try_start_12 .. :try_end_31} :catchall_33

    move v2, v3

    goto :goto_3b

    :catchall_33
    move-exception p1

    const-string v0, "ActivityRecreator"

    const-string v1, "Exception while fetching field values"

    invoke-static {v0, v1, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    :cond_3b
    :goto_3b
    if-eqz v2, :cond_42

    .line 2
    iput-boolean v3, p0, Lb0/c$c;->w:Z

    const/4 p1, 0x0

    iput-object p1, p0, Lb0/c$c;->r:Ljava/lang/Object;

    :cond_42
    return-void
.end method

.method public onActivityResumed(Landroid/app/Activity;)V
    .registers 2

    return-void
.end method

.method public onActivitySaveInstanceState(Landroid/app/Activity;Landroid/os/Bundle;)V
    .registers 3

    return-void
.end method

.method public onActivityStarted(Landroid/app/Activity;)V
    .registers 3

    iget-object v0, p0, Lb0/c$c;->s:Landroid/app/Activity;

    if-ne v0, p1, :cond_7

    const/4 p1, 0x1

    iput-boolean p1, p0, Lb0/c$c;->u:Z

    :cond_7
    return-void
.end method

.method public onActivityStopped(Landroid/app/Activity;)V
    .registers 2

    return-void
.end method
