.class Lcom/moji/mjweather/TableScreenFragment$MyHandler;
.super Landroid/os/Handler;
.source "TableScreenFragment.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/mjweather/TableScreenFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "MyHandler"
.end annotation


# instance fields
.field private a:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Lcom/moji/mjweather/TableScreenFragment;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lcom/moji/mjweather/TableScreenFragment;)V
    .locals 1

    .line 434
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    .line 435
    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/moji/mjweather/TableScreenFragment$MyHandler;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4

    .line 440
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 441
    iget-object v0, p0, Lcom/moji/mjweather/TableScreenFragment$MyHandler;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

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

    .line 442
    iget p1, p1, Landroid/os/Message;->what:I

    packed-switch p1, :pswitch_data_0

    goto/16 :goto_2

    :pswitch_0
    if-eqz v0, :cond_7

    .line 479
    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->b(Lcom/moji/mjweather/TableScreenFragment;)Landroid/os/Handler;

    move-result-object p1

    const/16 v1, 0xc

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

    .line 480
    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->j(Lcom/moji/mjweather/TableScreenFragment;)Z

    move-result p1

    if-nez p1, :cond_0

    .line 481
    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->k(Lcom/moji/mjweather/TableScreenFragment;)V

    goto/16 :goto_2

    .line 483
    :cond_0
    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->c(Lcom/moji/mjweather/TableScreenFragment;)Z

    move-result p1

    invoke-static {v0, p1}, Lcom/moji/mjweather/TableScreenFragment;->b(Lcom/moji/mjweather/TableScreenFragment;Z)V

    goto/16 :goto_2

    :pswitch_1
    if-eqz v0, :cond_7

    .line 445
    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->b(Lcom/moji/mjweather/TableScreenFragment;)Landroid/os/Handler;

    move-result-object p1

    const/16 v1, 0xb

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

    const-string p1, "TableScreenFragment"

    .line 446
    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, "sea--splash--hasAllPermission:"

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

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->c(Lcom/moji/mjweather/TableScreenFragment;)Z

    move-result v3

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

    const-string v3, "--hasHandler:"

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

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->b(Lcom/moji/mjweather/TableScreenFragment;)Landroid/os/Handler;

    move-result-object v3

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

    move-result v1

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

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

    move-result-object v1

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

    .line 447
    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->c(Lcom/moji/mjweather/TableScreenFragment;)Z

    move-result p1

    if-eqz p1, :cond_6

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->d(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/view/SplashAdView;

    move-result-object p1

    if-eqz p1, :cond_6

    .line 448
    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->e(Lcom/moji/mjweather/TableScreenFragment;)Z

    move-result p1

    const/4 v1, 0x1

    if-eqz p1, :cond_4

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->f(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/data/AdMojiSplash;

    move-result-object p1

    if-eqz p1, :cond_4

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->f(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/data/AdMojiSplash;

    move-result-object p1

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

    move-result p1

    if-eqz p1, :cond_4

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->g(Lcom/moji/mjweather/TableScreenFragment;)Z

    move-result p1

    if-nez p1, :cond_1

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->f(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/data/AdMojiSplash;

    move-result-object p1

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

    move-result p1

    if-nez p1, :cond_1

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->f(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/data/AdMojiSplash;

    move-result-object p1

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

    move-result p1

    if-eqz p1, :cond_4

    :cond_1
    const-string p1, "TableScreenFragment"

    .line 449
    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, "sea--splash--handle over-show request ad--IsLoadThirdAd:"

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

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->g(Lcom/moji/mjweather/TableScreenFragment;)Z

    move-result v3

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

    const-string v3, ", "

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

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->f(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/data/AdMojiSplash;

    move-result-object v3

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

    move-result v3

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

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

    move-result-object v2

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

    .line 450
    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->d(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/view/SplashAdView;

    move-result-object p1

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->f(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/data/AdMojiSplash;

    move-result-object v2

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->g(Lcom/moji/mjweather/TableScreenFragment;)Z

    move-result v3

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

    .line 451
    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->g(Lcom/moji/mjweather/TableScreenFragment;)Z

    move-result p1

    if-nez p1, :cond_3

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->f(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/data/AdMojiSplash;

    move-result-object p1

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

    move-result p1

    if-eqz p1, :cond_2

    goto :goto_0

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

    move-result-object p1

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->h(Lcom/moji/mjweather/TableScreenFragment;)Ljava/lang/String;

    move-result-object v2

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

    const-string p1, "moji"

    .line 456
    invoke-static {v0, p1}, Lcom/moji/mjweather/TableScreenFragment;->a(Lcom/moji/mjweather/TableScreenFragment;Ljava/lang/String;)Ljava/lang/String;

    goto :goto_1

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

    move-result-object p1

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->h(Lcom/moji/mjweather/TableScreenFragment;)Ljava/lang/String;

    move-result-object v2

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

    const-string p1, "gdt"

    .line 453
    invoke-static {v0, p1}, Lcom/moji/mjweather/TableScreenFragment;->a(Lcom/moji/mjweather/TableScreenFragment;Ljava/lang/String;)Ljava/lang/String;

    .line 458
    :goto_1
    invoke-static {v0, v1}, Lcom/moji/mjweather/TableScreenFragment;->a(Lcom/moji/mjweather/TableScreenFragment;Z)V

    goto/16 :goto_2

    .line 459
    :cond_4
    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->e(Lcom/moji/mjweather/TableScreenFragment;)Z

    move-result p1

    if-nez p1, :cond_5

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->i(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/data/AdMojiSplash;

    move-result-object p1

    if-eqz p1, :cond_5

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->i(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/data/AdMojiSplash;

    move-result-object p1

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

    move-result p1

    if-eqz p1, :cond_5

    const-string p1, "TableScreenFragment"

    .line 460
    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, "sea--splash--handle over-show local ad--IsLoadThirdAd:"

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

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->g(Lcom/moji/mjweather/TableScreenFragment;)Z

    move-result v3

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

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

    move-result-object v2

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

    .line 461
    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->d(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/view/SplashAdView;

    move-result-object p1

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->i(Lcom/moji/mjweather/TableScreenFragment;)Lcom/moji/mjad/splash/data/AdMojiSplash;

    move-result-object v2

    invoke-virtual {p1, v2}, Lcom/moji/mjad/splash/view/SplashAdView;->setData(Lcom/moji/mjad/splash/data/AdMojiSplash;)V

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

    move-result-object p1

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->h(Lcom/moji/mjweather/TableScreenFragment;)Ljava/lang/String;

    move-result-object v2

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

    const-string p1, "moji"

    .line 463
    invoke-static {v0, p1}, Lcom/moji/mjweather/TableScreenFragment;->a(Lcom/moji/mjweather/TableScreenFragment;Ljava/lang/String;)Ljava/lang/String;

    .line 464
    invoke-static {v0, v1}, Lcom/moji/mjweather/TableScreenFragment;->a(Lcom/moji/mjweather/TableScreenFragment;Z)V

    goto :goto_2

    :cond_5
    const-string p1, "TableScreenFragment"

    const-string v2, "sea--splash--handle over-no ad data"

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

    .line 467
    invoke-static {v0, v1}, Lcom/moji/mjweather/TableScreenFragment;->b(Lcom/moji/mjweather/TableScreenFragment;Z)V

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

    move-result-object p1

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->h(Lcom/moji/mjweather/TableScreenFragment;)Ljava/lang/String;

    move-result-object v0

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

    goto :goto_2

    :cond_6
    const-string p1, "TableScreenFragment"

    const-string v1, "sea--splash--handle over- no permission"

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

    .line 472
    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->c(Lcom/moji/mjweather/TableScreenFragment;)Z

    move-result p1

    invoke-static {v0, p1}, Lcom/moji/mjweather/TableScreenFragment;->b(Lcom/moji/mjweather/TableScreenFragment;Z)V

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

    move-result-object p1

    invoke-static {v0}, Lcom/moji/mjweather/TableScreenFragment;->h(Lcom/moji/mjweather/TableScreenFragment;)Ljava/lang/String;

    move-result-object v0

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

    :cond_7
    :goto_2
    return-void

    :pswitch_data_0
    .packed-switch 0xb
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
