.class public Lcom/moji/preferences/ActivityLifePrefer;
.super Ljava/lang/Object;
.source "ActivityLifePrefer.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/preferences/ActivityLifePrefer$LifeCycleProvider;,
        Lcom/moji/preferences/ActivityLifePrefer$APIActivityLifeCycleProviderImpl;,
        Lcom/moji/preferences/ActivityLifePrefer$APIActivityLifeCycleImpl;,
        Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;
    }
.end annotation


# static fields
.field private static a:Lcom/moji/preferences/ActivityLifePrefer;

.field private static b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

.field private static c:Ljava/lang/Boolean;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    .line 28
    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    sput-object v0, Lcom/moji/preferences/ActivityLifePrefer;->c:Ljava/lang/Boolean;

    return-void
.end method

.method private constructor <init>()V
    .locals 0

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

    return-void
.end method

.method static synthetic a(Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;)Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;
    .locals 0

    .line 21
    sput-object p0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    return-object p0
.end method

.method public static declared-synchronized a()Lcom/moji/preferences/ActivityLifePrefer;
    .locals 2

    const-class v0, Lcom/moji/preferences/ActivityLifePrefer;

    monitor-enter v0

    .line 34
    :try_start_0
    sget-object v1, Lcom/moji/preferences/ActivityLifePrefer;->a:Lcom/moji/preferences/ActivityLifePrefer;

    if-nez v1, :cond_0

    .line 35
    new-instance v1, Lcom/moji/preferences/ActivityLifePrefer;

    invoke-direct {v1}, Lcom/moji/preferences/ActivityLifePrefer;-><init>()V

    sput-object v1, Lcom/moji/preferences/ActivityLifePrefer;->a:Lcom/moji/preferences/ActivityLifePrefer;

    .line 37
    :cond_0
    invoke-static {}, Lcom/moji/tool/AppDelegate;->b()Z

    move-result v1

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    sput-object v1, Lcom/moji/preferences/ActivityLifePrefer;->c:Ljava/lang/Boolean;

    .line 38
    sget-object v1, Lcom/moji/preferences/ActivityLifePrefer;->c:Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 39
    invoke-static {}, Lcom/moji/preferences/ActivityLifePrefer;->m()V

    goto :goto_0

    .line 41
    :cond_1
    invoke-static {}, Lcom/moji/preferences/ActivityLifePrefer;->n()V

    .line 43
    :goto_0
    sget-object v1, Lcom/moji/preferences/ActivityLifePrefer;->a:Lcom/moji/preferences/ActivityLifePrefer;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    .line 33
    monitor-exit v0

    throw v1
.end method

.method static synthetic k()Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;
    .locals 1

    .line 21
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    return-object v0
.end method

.method static synthetic l()V
    .locals 0

    .line 21
    invoke-static {}, Lcom/moji/preferences/ActivityLifePrefer;->m()V

    return-void
.end method

.method private static m()V
    .locals 2

    .line 585
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    return-void

    .line 588
    :cond_0
    new-instance v0, Lcom/moji/preferences/ActivityLifePrefer$APIActivityLifeCycleImpl;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lcom/moji/preferences/ActivityLifePrefer$APIActivityLifeCycleImpl;-><init>(Lcom/moji/preferences/ActivityLifePrefer$1;)V

    sput-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    return-void
.end method

.method private static n()V
    .locals 2

    .line 592
    new-instance v0, Lcom/moji/preferences/ActivityLifePrefer$APIActivityLifeCycleProviderImpl;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lcom/moji/preferences/ActivityLifePrefer$APIActivityLifeCycleProviderImpl;-><init>(Lcom/moji/preferences/ActivityLifePrefer$1;)V

    sput-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 1

    .line 47
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 48
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0, p1}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->a(I)V

    :cond_0
    return-void
.end method

.method public a(J)V
    .locals 1

    .line 127
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 128
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0, p1, p2}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->a(J)V

    :cond_0
    return-void
.end method

.method public a(Z)V
    .locals 1

    .line 147
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 148
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0, p1}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->a(Z)V

    :cond_0
    return-void
.end method

.method public b()I
    .locals 1

    .line 76
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 77
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->a()Ljava/lang/Integer;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    if-eqz v0, :cond_1

    .line 80
    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    return v0

    :cond_1
    const/4 v0, 0x0

    return v0
.end method

.method public b(I)V
    .locals 1

    .line 54
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 55
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0, p1}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->b(I)V

    :cond_0
    return-void
.end method

.method public b(Z)V
    .locals 1

    .line 167
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 168
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0, p1}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->b(Z)V

    :cond_0
    return-void
.end method

.method public c()I
    .locals 1

    .line 89
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 90
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->b()Ljava/lang/Integer;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    if-eqz v0, :cond_1

    .line 93
    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    return v0

    :cond_1
    const/4 v0, 0x0

    return v0
.end method

.method public c(I)V
    .locals 1

    .line 61
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 62
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0, p1}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->c(I)V

    :cond_0
    return-void
.end method

.method public c(Z)V
    .locals 1

    .line 200
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 201
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0, p1}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->c(Z)V

    :cond_0
    return-void
.end method

.method public d()I
    .locals 1

    .line 102
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 103
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->c()Ljava/lang/Integer;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    if-eqz v0, :cond_1

    .line 106
    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    return v0

    :cond_1
    const/4 v0, 0x0

    return v0
.end method

.method public d(I)V
    .locals 1

    .line 68
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 69
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0, p1}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->d(I)V

    :cond_0
    return-void
.end method

.method public e()I
    .locals 1

    .line 115
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 116
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->d()Ljava/lang/Integer;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    if-eqz v0, :cond_1

    .line 119
    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    return v0

    :cond_1
    const/4 v0, 0x0

    return v0
.end method

.method public f()J
    .locals 2

    .line 135
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 136
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->e()Ljava/lang/Long;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    if-eqz v0, :cond_1

    .line 139
    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    return-wide v0

    :cond_1
    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public g()Z
    .locals 1

    .line 155
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 156
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->f()Ljava/lang/Boolean;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    if-eqz v0, :cond_1

    .line 159
    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    return v0

    :cond_1
    const/4 v0, 0x0

    return v0
.end method

.method public h()Z
    .locals 1

    .line 175
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 176
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->g()Ljava/lang/Boolean;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    if-eqz v0, :cond_1

    .line 179
    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    return v0

    :cond_1
    const/4 v0, 0x0

    return v0
.end method

.method public i()Z
    .locals 1

    .line 188
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 189
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->h()Ljava/lang/Boolean;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    if-eqz v0, :cond_1

    .line 192
    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    return v0

    :cond_1
    const/4 v0, 0x1

    return v0
.end method

.method public j()V
    .locals 1

    .line 207
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    if-eqz v0, :cond_0

    .line 208
    sget-object v0, Lcom/moji/preferences/ActivityLifePrefer;->b:Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;

    invoke-interface {v0}, Lcom/moji/preferences/ActivityLifePrefer$IAPIActivityLifeCycle;->i()V

    :cond_0
    return-void
.end method
