.class public Lcom/moji/mjweather/TableScreenFragment;
.super Lcom/moji/base/MJFragment;
.source "TableScreenFragment.java"

# interfaces
.implements Lcom/moji/mjad/splash/view/SplashAdView$OnFinishListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/mjweather/TableScreenFragment$MyHandler;,
        Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;
    }
.end annotation


# static fields
.field public static final b:[Ljava/lang/String;

.field public static final c:[Ljava/lang/String;

.field public static final d:[Ljava/lang/String;

.field private static final t:[Ljava/lang/String;


# instance fields
.field private A:Ljava/lang/String;

.field private B:Lcom/moji/mjad/splash/data/AdMojiSplash;

.field private e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

.field private f:Landroid/os/Handler;

.field private g:Z

.field private h:Z

.field private i:Z

.field private j:I

.field private k:I

.field private l:Lcom/moji/mjad/splash/view/SplashAdView;

.field private m:Z

.field private n:Z

.field private o:Lcom/moji/mjweather/TableScreenFragmentControl;

.field private p:Lcom/moji/mjweather/MainActivity;

.field private q:Z

.field private r:Z

.field private s:Ljava/lang/String;

.field private u:Z

.field private v:Ljava/lang/Boolean;

.field private w:Z

.field private x:Z

.field private y:Lcom/moji/mjad/splash/data/AdMojiSplash;

.field private z:Z


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

    const/4 v0, 0x2

    .line 194
    new-array v1, v0, [Ljava/lang/String;

    const-string v2, "android.permission.ACCESS_FINE_LOCATION"

    const/4 v3, 0x0

    aput-object v2, v1, v3

    const-string v2, "android.permission.ACCESS_COARSE_LOCATION"

    const/4 v4, 0x1

    aput-object v2, v1, v4

    sput-object v1, Lcom/moji/mjweather/TableScreenFragment;->b:[Ljava/lang/String;

    .line 198
    new-array v1, v4, [Ljava/lang/String;

    const-string v2, "android.permission.READ_PHONE_STATE"

    aput-object v2, v1, v3

    sput-object v1, Lcom/moji/mjweather/TableScreenFragment;->c:[Ljava/lang/String;

    .line 201
    new-array v1, v4, [Ljava/lang/String;

    const-string v2, "android.permission.WRITE_EXTERNAL_STORAGE"

    aput-object v2, v1, v3

    sput-object v1, Lcom/moji/mjweather/TableScreenFragment;->d:[Ljava/lang/String;

    const/4 v1, 0x4

    .line 204
    new-array v1, v1, [Ljava/lang/String;

    const-string v2, "android.permission.ACCESS_FINE_LOCATION"

    aput-object v2, v1, v3

    const-string v2, "android.permission.ACCESS_COARSE_LOCATION"

    aput-object v2, v1, v4

    const-string v2, "android.permission.WRITE_EXTERNAL_STORAGE"

    aput-object v2, v1, v0

    const-string v0, "android.permission.READ_PHONE_STATE"

    const/4 v2, 0x3

    aput-object v0, v1, v2

    sput-object v1, Lcom/moji/mjweather/TableScreenFragment;->t:[Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .locals 2

    .line 72
    invoke-direct {p0}, Lcom/moji/base/MJFragment;-><init>()V

    const/4 v0, 0x0

    .line 59
    iput-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->i:Z

    const/4 v1, -0x1

    .line 60
    iput v1, p0, Lcom/moji/mjweather/TableScreenFragment;->j:I

    .line 61
    iput v0, p0, Lcom/moji/mjweather/TableScreenFragment;->k:I

    .line 63
    iput-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->m:Z

    .line 68
    iput-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->r:Z

    const-string v1, "none"

    .line 69
    iput-object v1, p0, Lcom/moji/mjweather/TableScreenFragment;->s:Ljava/lang/String;

    const/4 v1, 0x0

    .line 345
    iput-object v1, p0, Lcom/moji/mjweather/TableScreenFragment;->v:Ljava/lang/Boolean;

    .line 73
    new-instance v1, Lcom/moji/mjweather/TableScreenFragmentControl;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/TableScreenFragmentControl;-><init>(Lcom/moji/mjweather/TableScreenFragment;)V

    iput-object v1, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    .line 74
    new-instance v1, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    invoke-direct {v1, p0, v0, v0, v0}, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;-><init>(Lcom/moji/mjweather/TableScreenFragment;ZZZ)V

    iput-object v1, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    .line 75
    new-instance v0, Lcom/moji/mjweather/TableScreenFragment$MyHandler;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/TableScreenFragment$MyHandler;-><init>(Lcom/moji/mjweather/TableScreenFragment;)V

    iput-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    const/4 v0, 0x1

    .line 76
    sput-boolean v0, Lcom/moji/mjweather/TableScreenFragment;->a:Z

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/TableScreenFragment;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 50
    iput-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->s:Ljava/lang/String;

    return-object p1
.end method

.method private a(I)V
    .locals 4

    .line 325
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v0

    sget-object v1, Lcom/moji/statistics/EVENT_TAG;->CITY_PROMPT_SETTING:Lcom/moji/statistics/EVENT_TAG;

    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, v1, p1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/TableScreenFragment;Z)V
    .locals 0

    .line 50
    invoke-direct {p0, p1}, Lcom/moji/mjweather/TableScreenFragment;->e(Z)V

    return-void
.end method

.method private a(Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;)Z
    .locals 0

    if-eqz p1, :cond_0

    .line 547
    iget-boolean p1, p1, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;->b:Z

    if-eqz p1, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return p1
.end method

.method static synthetic a(Lcom/moji/mjweather/TableScreenFragment;)Z
    .locals 0

    .line 50
    invoke-direct {p0}, Lcom/moji/mjweather/TableScreenFragment;->i()Z

    move-result p0

    return p0
.end method

.method private a([Ljava/lang/String;)Z
    .locals 5

    .line 540
    array-length v0, p1

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    :goto_0
    if-ge v2, v0, :cond_2

    aget-object v4, p1, v2

    if-nez v3, :cond_1

    .line 541
    invoke-virtual {p0, v4}, Lcom/moji/mjweather/TableScreenFragment;->shouldShowRequestPermissionRationale(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_0

    goto :goto_1

    :cond_0
    const/4 v3, 0x0

    goto :goto_2

    :cond_1
    :goto_1
    const/4 v3, 0x1

    :goto_2
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_2
    return v3
.end method

.method static synthetic b(Lcom/moji/mjweather/TableScreenFragment;)Landroid/os/Handler;
    .locals 0

    .line 50
    iget-object p0, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    return-object p0
.end method

.method static synthetic b(Lcom/moji/mjweather/TableScreenFragment;Z)V
    .locals 0

    .line 50
    invoke-direct {p0, p1}, Lcom/moji/mjweather/TableScreenFragment;->d(Z)V

    return-void
.end method

.method private b(I)Z
    .locals 0

    packed-switch p1, :pswitch_data_0

    .line 526
    sget-object p1, Lcom/moji/mjweather/TableScreenFragment;->t:[Ljava/lang/String;

    goto :goto_0

    .line 523
    :pswitch_0
    sget-object p1, Lcom/moji/mjweather/TableScreenFragment;->t:[Ljava/lang/String;

    goto :goto_0

    .line 517
    :pswitch_1
    sget-object p1, Lcom/moji/mjweather/TableScreenFragment;->d:[Ljava/lang/String;

    goto :goto_0

    .line 520
    :pswitch_2
    sget-object p1, Lcom/moji/mjweather/TableScreenFragment;->c:[Ljava/lang/String;

    .line 529
    :goto_0
    invoke-direct {p0, p1}, Lcom/moji/mjweather/TableScreenFragment;->a([Ljava/lang/String;)Z

    move-result p1

    return p1

    nop

    :pswitch_data_0
    .packed-switch 0x14c
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method private c(Z)V
    .locals 3

    .line 329
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    invoke-direct {p0, p1}, Lcom/moji/mjweather/TableScreenFragment;->a(Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;)Z

    move-result p1

    const/4 v0, 0x1

    if-eqz p1, :cond_0

    .line 330
    invoke-direct {p0, v0}, Lcom/moji/mjweather/TableScreenFragment;->d(Z)V

    goto :goto_1

    .line 331
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    invoke-direct {p0, p1}, Lcom/moji/mjweather/TableScreenFragment;->a(Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;)Z

    move-result p1

    if-nez p1, :cond_4

    .line 332
    iget-boolean p1, p0, Lcom/moji/mjweather/TableScreenFragment;->i:Z

    const/4 v1, 0x0

    if-nez p1, :cond_3

    const/16 p1, 0x14e

    .line 333
    iget v2, p0, Lcom/moji/mjweather/TableScreenFragment;->j:I

    if-eq p1, v2, :cond_2

    iget p1, p0, Lcom/moji/mjweather/TableScreenFragment;->k:I

    if-ge p1, v0, :cond_1

    iget p1, p0, Lcom/moji/mjweather/TableScreenFragment;->j:I

    invoke-direct {p0, p1}, Lcom/moji/mjweather/TableScreenFragment;->b(I)Z

    move-result p1

    if-eqz p1, :cond_1

    goto :goto_0

    .line 336
    :cond_1
    invoke-direct {p0, v1}, Lcom/moji/mjweather/TableScreenFragment;->d(Z)V

    goto :goto_1

    .line 334
    :cond_2
    :goto_0
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->e()Z

    goto :goto_1

    .line 339
    :cond_3
    iput-boolean v1, p0, Lcom/moji/mjweather/TableScreenFragment;->i:Z

    :cond_4
    :goto_1
    return-void
.end method

.method static synthetic c(Lcom/moji/mjweather/TableScreenFragment;)Z
    .locals 0

    .line 50
    iget-boolean p0, p0, Lcom/moji/mjweather/TableScreenFragment;->g:Z

    return p0
.end method

.method static synthetic c(Lcom/moji/mjweather/TableScreenFragment;Z)Z
    .locals 0

    .line 50
    iput-boolean p1, p0, Lcom/moji/mjweather/TableScreenFragment;->w:Z

    return p1
.end method

.method static synthetic d(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/view/SplashAdView;
    .locals 0

    .line 50
    iget-object p0, p0, Lcom/moji/mjweather/TableScreenFragment;->l:Lcom/moji/mjad/splash/view/SplashAdView;

    return-object p0
.end method

.method private d(Z)V
    .locals 4

    .line 369
    iget-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->u:Z

    if-eqz v0, :cond_0

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

    move-result-object p1

    iput-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->v:Ljava/lang/Boolean;

    return-void

    .line 374
    :cond_0
    invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;

    move-result-object v0

    iget-object v1, p0, Lcom/moji/mjweather/TableScreenFragment;->A:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/moji/mjad/statistics/AdStatistics;->k(Ljava/lang/String;)V

    .line 375
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    .line 376
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V

    :cond_1
    const/4 v0, 0x0

    .line 378
    invoke-direct {p0, v0}, Lcom/moji/mjweather/TableScreenFragment;->e(Z)V

    .line 379
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    instance-of v0, v0, Lcom/moji/mjweather/MainActivity;

    if-eqz v0, :cond_2

    .line 380
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/MainActivity;

    new-instance v2, Lcom/moji/mjweather/PermissionChangeEvent;

    iget-object v3, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    invoke-direct {v2, p1, v3}, Lcom/moji/mjweather/PermissionChangeEvent;-><init>(ZLcom/moji/mjweather/TableScreenFragment$PermissionEntity;)V

    invoke-virtual {v0, v2}, Lcom/moji/mjweather/MainActivity;->processPermission(Lcom/moji/mjweather/PermissionChangeEvent;)V

    goto :goto_0

    .line 382
    :cond_2
    invoke-static {}, Lorg/greenrobot/eventbus/EventBus;->a()Lorg/greenrobot/eventbus/EventBus;

    move-result-object v0

    new-instance v2, Lcom/moji/mjweather/PermissionChangeEvent;

    iget-object v3, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    invoke-direct {v2, p1, v3}, Lcom/moji/mjweather/PermissionChangeEvent;-><init>(ZLcom/moji/mjweather/TableScreenFragment$PermissionEntity;)V

    invoke-virtual {v0, v2}, Lorg/greenrobot/eventbus/EventBus;->d(Ljava/lang/Object;)V

    .line 384
    :goto_0
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->l:Lcom/moji/mjad/splash/view/SplashAdView;

    if-eqz p1, :cond_3

    .line 385
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->l:Lcom/moji/mjad/splash/view/SplashAdView;

    invoke-virtual {p1}, Lcom/moji/mjad/splash/view/SplashAdView;->b()V

    .line 386
    iput-object v1, p0, Lcom/moji/mjweather/TableScreenFragment;->l:Lcom/moji/mjad/splash/view/SplashAdView;

    :cond_3
    return-void
.end method

.method private e(Z)V
    .locals 17

    move-object/from16 v0, p0

    .line 493
    iget-object v1, v0, Lcom/moji/mjweather/TableScreenFragment;->p:Lcom/moji/mjweather/MainActivity;

    if-eqz v1, :cond_0

    .line 494
    iget-object v1, v0, Lcom/moji/mjweather/TableScreenFragment;->p:Lcom/moji/mjweather/MainActivity;

    iget-object v2, v0, Lcom/moji/mjweather/TableScreenFragment;->s:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/moji/mjweather/MainActivity;->setSplashType(Ljava/lang/String;)V

    .line 496
    :cond_0
    iget-boolean v1, v0, Lcom/moji/mjweather/TableScreenFragment;->g:Z

    const-wide/16 v2, -0x2

    if-nez v1, :cond_1

    .line 497
    sput-wide v2, Lcom/moji/mjweather/MJApplication;->sStartTimeSplash:J

    .line 499
    :cond_1
    sget-wide v4, Lcom/moji/mjweather/MJApplication;->sStartTimeSplash:J

    cmp-long v1, v4, v2

    if-eqz v1, :cond_5

    .line 500
    invoke-static {}, Lcom/moji/areamanagement/MJAreaManager;->c()Ljava/util/List;

    move-result-object v1

    const/4 v4, 0x0

    if-nez v1, :cond_2

    const/4 v1, 0x0

    goto :goto_0

    .line 501
    :cond_2
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    .line 502
    :goto_0
    sget-wide v5, Lcom/moji/mjweather/MJApplication;->sStartTimeSplash:J

    const-wide/16 v7, -0x1

    const/4 v9, 0x1

    const/4 v10, 0x2

    cmp-long v11, v5, v7

    if-eqz v11, :cond_4

    sget-wide v5, Lcom/moji/mjweather/MainActivity;->sOnCreateTime:J

    const-wide/16 v7, 0x0

    cmp-long v11, v5, v7

    if-nez v11, :cond_3

    goto :goto_1

    .line 505
    :cond_3
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v5

    sget-wide v7, Lcom/moji/mjweather/MainActivity;->sOnCreateTime:J

    sub-long/2addr v5, v7

    sget-wide v7, Lcom/moji/mjweather/MJApplication;->sStartTimeSplash:J

    add-long/2addr v5, v7

    .line 506
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v11

    sget-object v12, Lcom/moji/statistics/EVENT_TAG;->APPLICATION_START_TIME_SPLASH:Lcom/moji/statistics/EVENT_TAG;

    iget-object v13, v0, Lcom/moji/mjweather/TableScreenFragment;->s:Ljava/lang/String;

    new-array v7, v10, [Ljava/lang/Object;

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    aput-object v1, v7, v4

    sget-object v1, Landroid/os/Build;->MODEL:Ljava/lang/String;

    aput-object v1, v7, v9

    invoke-static {v7}, Lcom/moji/statistics/EventParams;->getProperty([Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v16

    move-wide v14, v5

    invoke-virtual/range {v11 .. v16}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;JLorg/json/JSONObject;)Lcom/moji/statistics/EventManager;

    const-string v1, "TableScreenFragment"

    .line 507
    new-instance v4, Ljava/lang/StringBuilder;

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

    const-string v7, "eventStartUp: start time is "

    invoke-virtual {v4, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string v5, ", process start time is "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    sget-wide v5, Lcom/moji/mjweather/MJApplication;->sStartTimeSplash:J

    invoke-virtual {v4, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v1, v4}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_2

    .line 503
    :cond_4
    :goto_1
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object v5

    sget-object v6, Lcom/moji/statistics/EVENT_TAG;->APPLICATION_START_TIME_SPLASH:Lcom/moji/statistics/EVENT_TAG;

    iget-object v7, v0, Lcom/moji/mjweather/TableScreenFragment;->s:Ljava/lang/String;

    const-wide/16 v11, -0x1

    new-array v8, v10, [Ljava/lang/Object;

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    aput-object v1, v8, v4

    sget-object v1, Landroid/os/Build;->MODEL:Ljava/lang/String;

    aput-object v1, v8, v9

    invoke-static {v8}, Lcom/moji/statistics/EventParams;->getProperty([Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v10

    move-wide v8, v11

    invoke-virtual/range {v5 .. v10}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;JLorg/json/JSONObject;)Lcom/moji/statistics/EventManager;

    .line 509
    :goto_2
    sput-wide v2, Lcom/moji/mjweather/MJApplication;->sStartTimeSplash:J

    :cond_5
    return-void
.end method

.method static synthetic e(Lcom/moji/mjweather/TableScreenFragment;)Z
    .locals 0

    .line 50
    iget-boolean p0, p0, Lcom/moji/mjweather/TableScreenFragment;->x:Z

    return p0
.end method

.method static synthetic f(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/data/AdMojiSplash;
    .locals 0

    .line 50
    iget-object p0, p0, Lcom/moji/mjweather/TableScreenFragment;->y:Lcom/moji/mjad/splash/data/AdMojiSplash;

    return-object p0
.end method

.method private g()Z
    .locals 7

    .line 143
    new-instance v0, Lcom/moji/preferences/ProcessPrefer;

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

    .line 144
    invoke-virtual {v0}, Lcom/moji/preferences/ProcessPrefer;->z()J

    move-result-wide v0

    const/4 v2, 0x0

    const-wide/16 v3, 0x0

    cmp-long v5, v0, v3

    if-eqz v5, :cond_1

    .line 146
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    const-wide/16 v5, 0x3e8

    mul-long v0, v0, v5

    sub-long/2addr v3, v0

    const-wide/32 v0, 0x5265c00

    .line 148
    div-long/2addr v3, v0

    long-to-int v0, v3

    const/16 v1, 0xf

    if-lt v0, v1, :cond_0

    const/4 v2, 0x1

    :cond_0
    return v2

    :cond_1
    return v2
.end method

.method static synthetic g(Lcom/moji/mjweather/TableScreenFragment;)Z
    .locals 0

    .line 50
    iget-boolean p0, p0, Lcom/moji/mjweather/TableScreenFragment;->w:Z

    return p0
.end method

.method static synthetic h(Lcom/moji/mjweather/TableScreenFragment;)Ljava/lang/String;
    .locals 0

    .line 50
    iget-object p0, p0, Lcom/moji/mjweather/TableScreenFragment;->A:Ljava/lang/String;

    return-object p0
.end method

.method private h()V
    .locals 2

    .line 180
    invoke-static {}, Lcom/mojiweather/area/AreaManagePrefer;->c()Lcom/mojiweather/area/AreaManagePrefer;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/mojiweather/area/AreaManagePrefer;->a(I)V

    return-void
.end method

.method static synthetic i(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/data/AdMojiSplash;
    .locals 0

    .line 50
    iget-object p0, p0, Lcom/moji/mjweather/TableScreenFragment;->B:Lcom/moji/mjad/splash/data/AdMojiSplash;

    return-object p0
.end method

.method private i()Z
    .locals 10

    .line 212
    iget-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->m:Z

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    return v1

    :cond_0
    const/4 v0, 0x1

    .line 215
    iput-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->m:Z

    .line 216
    iget v2, p0, Lcom/moji/mjweather/TableScreenFragment;->j:I

    const/16 v3, 0x14e

    if-eq v2, v3, :cond_1

    .line 217
    iput v1, p0, Lcom/moji/mjweather/TableScreenFragment;->k:I

    .line 219
    :cond_1
    iput v3, p0, Lcom/moji/mjweather/TableScreenFragment;->j:I

    .line 220
    iput-boolean v1, p0, Lcom/moji/mjweather/TableScreenFragment;->i:Z

    .line 222
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0e0346

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v4

    const v5, 0x104000a

    const/high16 v6, 0x1040000

    const/16 v7, 0x14e

    iget-boolean v8, p0, Lcom/moji/mjweather/TableScreenFragment;->r:Z

    sget-object v9, Lcom/moji/mjweather/TableScreenFragment;->t:[Ljava/lang/String;

    move-object v3, p0

    .line 221
    invoke-static/range {v3 .. v9}, Lcom/moji/tool/permission/EasyPermissions;->a(Ljava/lang/Object;Ljava/lang/String;IIIZ[Ljava/lang/String;)V

    return v0
.end method

.method private j()Z
    .locals 4

    .line 232
    iget-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->m:Z

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    return v1

    :cond_0
    const/4 v0, 0x1

    .line 235
    iput-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->m:Z

    .line 236
    iget v2, p0, Lcom/moji/mjweather/TableScreenFragment;->j:I

    const/16 v3, 0x14d

    if-eq v2, v3, :cond_1

    .line 237
    iput v1, p0, Lcom/moji/mjweather/TableScreenFragment;->k:I

    .line 239
    :cond_1
    iput v3, p0, Lcom/moji/mjweather/TableScreenFragment;->j:I

    .line 241
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0e08eb

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    sget-object v2, Lcom/moji/mjweather/TableScreenFragment;->d:[Ljava/lang/String;

    .line 240
    invoke-static {p0, v1, v3, v2}, Lcom/moji/tool/permission/EasyPermissions;->a(Ljava/lang/Object;Ljava/lang/String;I[Ljava/lang/String;)V

    return v0
.end method

.method static synthetic j(Lcom/moji/mjweather/TableScreenFragment;)Z
    .locals 0

    .line 50
    iget-boolean p0, p0, Lcom/moji/mjweather/TableScreenFragment;->n:Z

    return p0
.end method

.method private k()V
    .locals 3

    .line 581
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getView()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->p:Lcom/moji/mjweather/MainActivity;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->p:Lcom/moji/mjweather/MainActivity;

    invoke-virtual {v0}, Lcom/moji/mjweather/MainActivity;->hasAreas()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->u:Z

    if-nez v0, :cond_0

    .line 582
    new-instance v0, Landroid/view/animation/AlphaAnimation;

    const/high16 v1, 0x3f800000    # 1.0f

    const/4 v2, 0x0

    invoke-direct {v0, v1, v2}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V

    const-wide/16 v1, 0x12c

    .line 583
    invoke-virtual {v0, v1, v2}, Landroid/view/animation/AlphaAnimation;->setDuration(J)V

    const/4 v1, 0x1

    .line 584
    invoke-virtual {v0, v1}, Landroid/view/animation/AlphaAnimation;->setFillAfter(Z)V

    .line 585
    new-instance v1, Lcom/moji/mjweather/TableScreenFragment$2;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/TableScreenFragment$2;-><init>(Lcom/moji/mjweather/TableScreenFragment;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/AlphaAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 599
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getView()Landroid/view/View;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    .line 600
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getView()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    goto :goto_0

    .line 602
    :cond_0
    iget-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->g:Z

    invoke-direct {p0, v0}, Lcom/moji/mjweather/TableScreenFragment;->d(Z)V

    :goto_0
    return-void
.end method

.method static synthetic k(Lcom/moji/mjweather/TableScreenFragment;)V
    .locals 0

    .line 50
    invoke-direct {p0}, Lcom/moji/mjweather/TableScreenFragment;->k()V

    return-void
.end method

.method private l()V
    .locals 6

    .line 617
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->l:Lcom/moji/mjad/splash/view/SplashAdView;

    if-nez v0, :cond_0

    return-void

    .line 618
    :cond_0
    iget-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->z:Z

    if-nez v0, :cond_1

    const/4 v0, 0x1

    .line 619
    iput-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->z:Z

    .line 620
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    const-string v2, "tonglei---"

    .line 621
    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v4, "time1 "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 622
    iget-object v2, p0, Lcom/moji/mjweather/TableScreenFragment;->l:Lcom/moji/mjad/splash/view/SplashAdView;

    iget-object v3, p0, Lcom/moji/mjweather/TableScreenFragment;->y:Lcom/moji/mjad/splash/data/AdMojiSplash;

    new-instance v4, Lcom/moji/mjweather/TableScreenFragment$3;

    invoke-direct {v4, p0}, Lcom/moji/mjweather/TableScreenFragment$3;-><init>(Lcom/moji/mjweather/TableScreenFragment;)V

    invoke-virtual {v2, v3, v4}, Lcom/moji/mjad/splash/view/SplashAdView;->a(Lcom/moji/mjad/splash/data/AdMojiSplash;Lcom/moji/mjad/splash/view/SplashAdView$OnLoadThirdAdListener;)V

    const-string v2, "tonglei---"

    .line 658
    new-instance v3, Ljava/lang/StringBuilder;

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

    const-string v4, "time "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    sub-long/2addr v4, v0

    invoke-virtual {v3, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string v0, "  "

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-virtual {v3, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v2, v0}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    :cond_1
    return-void
.end method


# virtual methods
.method a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 1
    .annotation build Landroid/support/annotation/NonNull;
    .end annotation

    const p3, 0x7f0b013b

    const/4 v0, 0x0

    .line 127
    invoke-virtual {p1, p3, p2, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    const p2, 0x7f080758

    .line 128
    invoke-virtual {p1, p2}, Landroid/view/View;->setBackgroundResource(I)V

    .line 130
    invoke-direct {p0}, Lcom/moji/mjweather/TableScreenFragment;->g()Z

    move-result p2

    if-eqz p2, :cond_0

    const p2, 0x7f090818

    .line 131
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Lcom/moji/mjad/splash/view/SplashAdView;

    iput-object p2, p0, Lcom/moji/mjweather/TableScreenFragment;->l:Lcom/moji/mjad/splash/view/SplashAdView;

    .line 132
    iget-object p2, p0, Lcom/moji/mjweather/TableScreenFragment;->l:Lcom/moji/mjad/splash/view/SplashAdView;

    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object p3

    invoke-virtual {p2, p3}, Lcom/moji/mjad/splash/view/SplashAdView;->setActivity(Landroid/app/Activity;)V

    .line 133
    iget-object p2, p0, Lcom/moji/mjweather/TableScreenFragment;->l:Lcom/moji/mjad/splash/view/SplashAdView;

    invoke-virtual {p2, p0}, Lcom/moji/mjad/splash/view/SplashAdView;->setOnFinishListener(Lcom/moji/mjad/splash/view/SplashAdView$OnFinishListener;)V

    .line 134
    iget-boolean p2, p0, Lcom/moji/mjweather/TableScreenFragment;->x:Z

    if-eqz p2, :cond_0

    iget-object p2, p0, Lcom/moji/mjweather/TableScreenFragment;->y:Lcom/moji/mjad/splash/data/AdMojiSplash;

    if-eqz p2, :cond_0

    iget-object p2, p0, Lcom/moji/mjweather/TableScreenFragment;->y:Lcom/moji/mjad/splash/data/AdMojiSplash;

    invoke-virtual {p2}, Lcom/moji/mjad/splash/data/AdMojiSplash;->isThirdGdtFullScreenAd()Z

    move-result p2

    if-eqz p2, :cond_0

    .line 135
    invoke-direct {p0}, Lcom/moji/mjweather/TableScreenFragment;->l()V

    :cond_0
    return-object p1
.end method

.method a(ILjava/util/List;)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    const/4 v0, 0x0

    .line 254
    iput-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->m:Z

    const/4 v1, 0x1

    packed-switch p1, :pswitch_data_0

    goto :goto_0

    .line 270
    :pswitch_0
    sget-object v2, Lcom/moji/mjweather/TableScreenFragment;->b:[Ljava/lang/String;

    invoke-static {v2}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v2

    invoke-interface {p2, v2}, Ljava/util/List;->containsAll(Ljava/util/Collection;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 271
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    iput-boolean v1, v0, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;->a:Z

    const/4 v0, 0x2

    .line 273
    invoke-direct {p0, v0}, Lcom/moji/mjweather/TableScreenFragment;->a(I)V

    const/4 v0, 0x1

    :cond_0
    const-string v2, "android.permission.WRITE_EXTERNAL_STORAGE"

    .line 275
    invoke-interface {p2, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 276
    iget-object v2, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    iput-boolean v1, v2, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;->b:Z

    add-int/lit8 v0, v0, 0x1

    :cond_1
    const-string v2, "android.permission.READ_PHONE_STATE"

    .line 279
    invoke-interface {p2, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_2

    .line 280
    iget-object p2, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    iput-boolean v1, p2, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;->c:Z

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 258
    :pswitch_1
    iget-object p2, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    iput-boolean v1, p2, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;->b:Z

    .line 259
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->e()Z

    move-result p2

    if-nez p2, :cond_2

    return-void

    .line 264
    :pswitch_2
    iget-object p2, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    iput-boolean v1, p2, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;->c:Z

    .line 265
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->e()Z

    move-result p2

    if-nez p2, :cond_2

    return-void

    .line 285
    :cond_2
    :goto_0
    invoke-direct {p0, v1}, Lcom/moji/mjweather/TableScreenFragment;->c(Z)V

    const/16 p2, 0x14e

    if-ne p2, p1, :cond_3

    const/4 p1, 0x3

    if-ge v0, p1, :cond_3

    .line 287
    iput-boolean v1, p0, Lcom/moji/mjweather/TableScreenFragment;->i:Z

    :cond_3
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x14c
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method a(Landroid/os/Bundle;)V
    .locals 2

    .line 95
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->NEW_AD_SPLASH_SHOW_TYPE:Lcom/moji/statistics/EVENT_TAG;

    const-string v1, "3"

    invoke-virtual {p1, v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;

    .line 96
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getArguments()Landroid/os/Bundle;

    move-result-object p1

    if-eqz p1, :cond_0

    const-string v0, "haveAllPermission"

    .line 98
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v0

    iput-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->g:Z

    const-string v0, "is_first_run"

    .line 99
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result p1

    iput-boolean p1, p0, Lcom/moji/mjweather/TableScreenFragment;->h:Z

    :cond_0
    return-void
.end method

.method public a(Lcom/moji/mjad/splash/data/AdMojiSplash;)V
    .locals 2

    .line 607
    iput-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->B:Lcom/moji/mjad/splash/data/AdMojiSplash;

    .line 608
    iget-boolean p1, p0, Lcom/moji/mjweather/TableScreenFragment;->x:Z

    if-eqz p1, :cond_2

    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->y:Lcom/moji/mjad/splash/data/AdMojiSplash;

    if-eqz p1, :cond_0

    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->y:Lcom/moji/mjad/splash/data/AdMojiSplash;

    invoke-virtual {p1}, Lcom/moji/mjad/splash/data/AdMojiSplash;->isValid()Z

    move-result p1

    if-nez p1, :cond_2

    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->B:Lcom/moji/mjad/splash/data/AdMojiSplash;

    if-eqz p1, :cond_1

    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->B:Lcom/moji/mjad/splash/data/AdMojiSplash;

    invoke-virtual {p1}, Lcom/moji/mjad/splash/data/AdMojiSplash;->isValid()Z

    move-result p1

    if-nez p1, :cond_2

    :cond_1
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    const/16 v0, 0xb

    invoke-virtual {p1, v0}, Landroid/os/Handler;->hasMessages(I)Z

    move-result p1

    if-eqz p1, :cond_2

    const-string p1, "TableScreenFragment"

    const-string v1, "sea--splash--hander exist-no local ad"

    .line 609
    invoke-static {p1, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 610
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    invoke-virtual {p1, v0}, Landroid/os/Handler;->removeMessages(I)V

    .line 611
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    const/16 v0, 0xc

    invoke-virtual {p1, v0}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 612
    invoke-static {}, Lcom/moji/mjad/statistics/AdStatistics;->a()Lcom/moji/mjad/statistics/AdStatistics;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->A:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/moji/mjad/statistics/AdStatistics;->e(Ljava/lang/String;)V

    :cond_2
    return-void
.end method

.method public a(Lcom/moji/mjad/splash/data/AdMojiSplash;Ljava/lang/String;)V
    .locals 1

    .line 558
    iput-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->y:Lcom/moji/mjad/splash/data/AdMojiSplash;

    .line 559
    iput-object p2, p0, Lcom/moji/mjweather/TableScreenFragment;->A:Ljava/lang/String;

    const/4 p1, 0x1

    .line 560
    iput-boolean p1, p0, Lcom/moji/mjweather/TableScreenFragment;->x:Z

    .line 561
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->y:Lcom/moji/mjad/splash/data/AdMojiSplash;

    const/16 p2, 0xb

    if-eqz p1, :cond_2

    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->y:Lcom/moji/mjad/splash/data/AdMojiSplash;

    invoke-virtual {p1}, Lcom/moji/mjad/splash/data/AdMojiSplash;->isValid()Z

    move-result p1

    if-eqz p1, :cond_2

    iget-boolean p1, p0, Lcom/moji/mjweather/TableScreenFragment;->g:Z

    if-nez p1, :cond_0

    goto :goto_0

    .line 568
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->l:Lcom/moji/mjad/splash/view/SplashAdView;

    if-eqz p1, :cond_1

    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->y:Lcom/moji/mjad/splash/data/AdMojiSplash;

    invoke-virtual {p1}, Lcom/moji/mjad/splash/data/AdMojiSplash;->isThirdGdtFullScreenAd()Z

    move-result p1

    if-eqz p1, :cond_1

    .line 569
    invoke-direct {p0}, Lcom/moji/mjweather/TableScreenFragment;->l()V

    goto :goto_1

    .line 570
    :cond_1
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->y:Lcom/moji/mjad/splash/data/AdMojiSplash;

    invoke-virtual {p1}, Lcom/moji/mjad/splash/data/AdMojiSplash;->isThirdGdtFullScreenAd()Z

    move-result p1

    if-nez p1, :cond_3

    .line 571
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    invoke-virtual {p1, p2}, Landroid/os/Handler;->hasMessages(I)Z

    move-result p1

    if-eqz p1, :cond_3

    .line 572
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    invoke-virtual {p1, p2}, Landroid/os/Handler;->removeMessages(I)V

    const-string p1, "TableScreenFragment"

    const-string v0, "sea--splash--hander exist--show moji ad"

    .line 573
    invoke-static {p1, v0}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 574
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    invoke-virtual {p1, p2}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto :goto_1

    :cond_2
    :goto_0
    const-string p1, "TableScreenFragment"

    const-string v0, "APPLICATION_START not has ad"

    .line 562
    invoke-static {p1, v0}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 563
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    invoke-virtual {p1, p2}, Landroid/os/Handler;->hasMessages(I)Z

    move-result p1

    if-eqz p1, :cond_3

    .line 564
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    invoke-virtual {p1, p2}, Landroid/os/Handler;->removeMessages(I)V

    const-string p1, "TableScreenFragment"

    const-string p2, "sea--splash--hander exist--noAd"

    .line 565
    invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 566
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    const/16 p2, 0xc

    invoke-virtual {p1, p2}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    :cond_3
    :goto_1
    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 0

    .line 555
    iput-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->A:Ljava/lang/String;

    return-void
.end method

.method a(Z)V
    .locals 0

    .line 108
    iput-boolean p1, p0, Lcom/moji/mjweather/TableScreenFragment;->h:Z

    return-void
.end method

.method a()Z
    .locals 1

    .line 104
    iget-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->h:Z

    return v0
.end method

.method b(ILjava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    const/4 v0, 0x0

    .line 298
    iput-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->m:Z

    packed-switch p1, :pswitch_data_0

    goto :goto_0

    .line 307
    :pswitch_0
    sget-object p1, Lcom/moji/mjweather/TableScreenFragment;->b:[Ljava/lang/String;

    invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object p1

    invoke-interface {p2, p1}, Ljava/util/List;->containsAll(Ljava/util/Collection;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 308
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    iput-boolean v0, p1, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;->a:Z

    const/4 p1, 0x1

    .line 309
    invoke-direct {p0, p1}, Lcom/moji/mjweather/TableScreenFragment;->a(I)V

    :cond_0
    const-string p1, "android.permission.WRITE_EXTERNAL_STORAGE"

    .line 311
    invoke-interface {p2, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 312
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    iput-boolean v0, p1, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;->b:Z

    :cond_1
    const-string p1, "android.permission.READ_PHONE_STATE"

    .line 314
    invoke-interface {p2, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_2

    .line 315
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    iput-boolean v0, p1, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;->c:Z

    goto :goto_0

    .line 301
    :pswitch_1
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    iput-boolean v0, p1, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;->b:Z

    goto :goto_0

    .line 304
    :pswitch_2
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    iput-boolean v0, p1, Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;->c:Z

    .line 319
    :cond_2
    :goto_0
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->e:Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;

    invoke-direct {p0, p1}, Lcom/moji/mjweather/TableScreenFragment;->a(Lcom/moji/mjweather/TableScreenFragment$PermissionEntity;)Z

    move-result p1

    if-nez p1, :cond_3

    .line 320
    invoke-direct {p0, v0}, Lcom/moji/mjweather/TableScreenFragment;->c(Z)V

    :cond_3
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x14c
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method b(Z)V
    .locals 2

    .line 391
    iput-boolean p1, p0, Lcom/moji/mjweather/TableScreenFragment;->n:Z

    .line 392
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getView()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 393
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getView()Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    :cond_0
    if-nez p1, :cond_1

    .line 395
    iget-boolean p1, p0, Lcom/moji/mjweather/TableScreenFragment;->q:Z

    if-nez p1, :cond_1

    .line 396
    invoke-direct {p0}, Lcom/moji/mjweather/TableScreenFragment;->k()V

    goto :goto_0

    .line 398
    :cond_1
    iget-boolean p1, p0, Lcom/moji/mjweather/TableScreenFragment;->g:Z

    invoke-direct {p0, p1}, Lcom/moji/mjweather/TableScreenFragment;->d(Z)V

    :goto_0
    return-void
.end method

.method b()Z
    .locals 1

    .line 112
    iget-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->g:Z

    return v0
.end method

.method c()V
    .locals 4

    .line 116
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    const/16 v1, 0xb

    const-wide/16 v2, 0x320

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    return-void
.end method

.method public d()V
    .locals 5

    .line 158
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const/4 v1, 0x0

    const v2, 0x7f0b023e

    const/4 v3, 0x0

    .line 159
    invoke-virtual {v0, v2, v3, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    const v2, 0x7f0900e3

    .line 160
    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/Button;

    .line 161
    new-instance v3, Lcom/moji/dialog/control/MJDialogCustomControl$Builder;

    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v4

    invoke-direct {v3, v4}, Lcom/moji/dialog/control/MJDialogCustomControl$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v3, v0}, Lcom/moji/dialog/control/MJDialogCustomControl$Builder;->a(Landroid/view/View;)Lcom/moji/dialog/control/MJDialogCustomControl$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogCustomControl$Builder;->c(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->d(Z)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a()Lcom/moji/dialog/MJDialog;

    move-result-object v0

    .line 162
    new-instance v1, Lcom/moji/mjweather/TableScreenFragment$1;

    invoke-direct {v1, p0, v0}, Lcom/moji/mjweather/TableScreenFragment$1;-><init>(Lcom/moji/mjweather/TableScreenFragment;Lcom/moji/dialog/MJDialog;)V

    invoke-virtual {v2, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 171
    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->getWindow()Landroid/view/Window;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v1

    const/16 v2, 0x11

    .line 172
    iput v2, v1, Landroid/view/WindowManager$LayoutParams;->gravity:I

    const/4 v1, 0x1

    .line 174
    iput-boolean v1, p0, Lcom/moji/mjweather/TableScreenFragment;->r:Z

    .line 175
    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->show()V

    .line 176
    invoke-direct {p0}, Lcom/moji/mjweather/TableScreenFragment;->h()V

    return-void
.end method

.method public e()Z
    .locals 2

    .line 184
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    sget-object v1, Lcom/moji/mjweather/TableScreenFragment;->d:[Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/moji/tool/permission/EasyPermissions;->a(Landroid/content/Context;[Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 185
    invoke-direct {p0}, Lcom/moji/mjweather/TableScreenFragment;->j()Z

    const/4 v0, 0x0

    return v0

    :cond_0
    const/4 v0, 0x1

    return v0
.end method

.method f()V
    .locals 2

    .line 412
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    const/16 v1, 0xc

    invoke-virtual {v0, v1}, Landroid/os/Handler;->hasMessages(I)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 413
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->f:Landroid/os/Handler;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    .line 414
    iget-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->g:Z

    invoke-direct {p0, v0}, Lcom/moji/mjweather/TableScreenFragment;->d(Z)V

    :cond_0
    return-void
.end method

.method public onActivityResult(IILandroid/content/Intent;)V
    .locals 2

    .line 664
    invoke-super {p0, p1, p2, p3}, Lcom/moji/base/MJFragment;->onActivityResult(IILandroid/content/Intent;)V

    const-string p3, "TableScreenFragment"

    .line 665
    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "TableScreenFragment--onActivityResult--requestCode:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v1, "--resultCode:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {p3, v0}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    const/4 p3, 0x1

    if-ne p1, p3, :cond_0

    const/16 p1, 0x63

    if-ne p2, p1, :cond_0

    .line 666
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    if-eqz p1, :cond_0

    .line 667
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    const/4 p2, 0x0

    invoke-virtual {p1, p2}, Lcom/moji/mjweather/TableScreenFragmentControl;->a(Z)V

    :cond_0
    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 1

    .line 86
    invoke-super {p0, p1}, Lcom/moji/base/MJFragment;->onCreate(Landroid/os/Bundle;)V

    .line 87
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 89
    check-cast v0, Lcom/moji/mjweather/MainActivity;

    iput-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->p:Lcom/moji/mjweather/MainActivity;

    .line 91
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/TableScreenFragmentControl;->a(Landroid/os/Bundle;)V

    return-void
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 1
    .annotation build Landroid/support/annotation/Nullable;
    .end annotation

    .line 122
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    invoke-virtual {v0, p1, p2, p3}, Lcom/moji/mjweather/TableScreenFragmentControl;->a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;

    move-result-object p1

    return-object p1
.end method

.method public onPause()V
    .locals 1

    .line 349
    invoke-super {p0}, Lcom/moji/base/MJFragment;->onPause()V

    const/4 v0, 0x1

    .line 350
    iput-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->u:Z

    return-void
.end method

.method public onPermissionsDenied(ILjava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 293
    invoke-super {p0, p1, p2}, Lcom/moji/base/MJFragment;->onPermissionsDenied(ILjava/util/List;)V

    .line 294
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    invoke-virtual {v0, p1, p2}, Lcom/moji/mjweather/TableScreenFragmentControl;->b(ILjava/util/List;)V

    return-void
.end method

.method public onPermissionsGranted(ILjava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 249
    invoke-super {p0, p1, p2}, Lcom/moji/base/MJFragment;->onPermissionsGranted(ILjava/util/List;)V

    .line 250
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    invoke-virtual {v0, p1, p2}, Lcom/moji/mjweather/TableScreenFragmentControl;->a(ILjava/util/List;)V

    return-void
.end method

.method public onResume()V
    .locals 1

    .line 357
    invoke-super {p0}, Lcom/moji/base/MJFragment;->onResume()V

    const/4 v0, 0x0

    .line 358
    iput-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->u:Z

    .line 361
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->v:Ljava/lang/Boolean;

    if-eqz v0, :cond_0

    .line 362
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->v:Ljava/lang/Boolean;

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

    move-result v0

    invoke-direct {p0, v0}, Lcom/moji/mjweather/TableScreenFragment;->d(Z)V

    const/4 v0, 0x0

    .line 363
    iput-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->v:Ljava/lang/Boolean;

    :cond_0
    return-void
.end method

.method public onSplashFinish(Z)V
    .locals 1

    .line 673
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    invoke-virtual {v0, p1}, Lcom/moji/mjweather/TableScreenFragmentControl;->a(Z)V

    return-void
.end method

.method public onSplashVideo(Lcom/moji/mjad/splash/data/AdSplashVideo;)V
    .locals 5

    const/4 v0, 0x0

    if-eqz p1, :cond_1

    .line 678
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getContext()Landroid/content/Context;

    move-result-object v1

    if-eqz v1, :cond_1

    const/4 v1, 0x1

    .line 679
    iput-boolean v1, p0, Lcom/moji/mjweather/TableScreenFragment;->q:Z

    .line 680
    new-instance v2, Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getContext()Landroid/content/Context;

    move-result-object v3

    const-class v4, Lcom/moji/mjad/splash/activity/SplashVideoActivity;

    invoke-direct {v2, v3, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 681
    new-instance v3, Landroid/os/Bundle;

    const/4 v4, 0x5

    invoke-direct {v3, v4}, Landroid/os/Bundle;-><init>(I)V

    const-string v4, "ad_splash"

    .line 682
    invoke-virtual {v3, v4, p1}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    const-string p1, "if_show_default"

    .line 683
    invoke-virtual {v3, p1, v1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 684
    invoke-virtual {v2, v3}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 685
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object p1

    invoke-virtual {p1}, Landroid/support/v4/app/FragmentActivity;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object p1

    invoke-virtual {v2, p1}, Landroid/content/Intent;->resolveActivity(Landroid/content/pm/PackageManager;)Landroid/content/ComponentName;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 686
    invoke-virtual {p0, v2, v1}, Lcom/moji/mjweather/TableScreenFragment;->startActivityForResult(Landroid/content/Intent;I)V

    .line 687
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object p1

    const v0, 0x7f010010

    const v1, 0x7f010024

    invoke-virtual {p1, v0, v1}, Landroid/support/v4/app/FragmentActivity;->overridePendingTransition(II)V

    goto :goto_0

    .line 688
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    if-eqz p1, :cond_2

    .line 689
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    invoke-virtual {p1, v0}, Lcom/moji/mjweather/TableScreenFragmentControl;->a(Z)V

    goto :goto_0

    .line 691
    :cond_1
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    if-eqz p1, :cond_2

    .line 692
    iget-object p1, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    invoke-virtual {p1, v0}, Lcom/moji/mjweather/TableScreenFragmentControl;->a(Z)V

    :cond_2
    :goto_0
    return-void
.end method

.method public onStop()V
    .locals 2

    .line 404
    invoke-super {p0}, Lcom/moji/base/MJFragment;->onStop()V

    .line 405
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment;->o:Lcom/moji/mjweather/TableScreenFragmentControl;

    invoke-virtual {v0}, Lcom/moji/mjweather/TableScreenFragmentControl;->c()V

    .line 406
    iget-boolean v0, p0, Lcom/moji/mjweather/TableScreenFragment;->q:Z

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getView()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 407
    invoke-virtual {p0}, Lcom/moji/mjweather/TableScreenFragment;->getView()Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method
