d.smali

.class final Lcom/cmcm/a/d;
.super Ljava/lang/Object;
.source "AdSkipBtnUtil.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Landroid/app/Activity;


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

    .prologue
    .line 207
    iput-object p1, p0, Lcom/cmcm/a/d;->a:Landroid/app/Activity;

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

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 8

    .prologue
    const/4 v5, 0x2

    const/4 v4, 0x1

    .line 210
    iget-object v0, p0, Lcom/cmcm/a/d;->a:Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    .line 211
    invoke-static {}, Lcom/cmcm/a/a;->a()Lcom/cm/plugincluster/ad/video/fullscreen/IFullScreenVideoAdInteractionListener;

    move-result-object v0

    if-eqz v0, :cond_18

    .line 212
    invoke-static {}, Lcom/cmcm/a/a;->a()Lcom/cm/plugincluster/ad/video/fullscreen/IFullScreenVideoAdInteractionListener;

    move-result-object v0

    invoke-interface {v0}, Lcom/cm/plugincluster/ad/video/fullscreen/IFullScreenVideoAdInteractionListener;->onAdClose()V

    .line 213
    const/4 v0, 0x0

    invoke-static {v0}, Lcom/cmcm/a/a;->b(Lcom/cm/plugincluster/ad/video/fullscreen/IFullScreenVideoAdInteractionListener;)Lcom/cm/plugincluster/ad/video/fullscreen/IFullScreenVideoAdInteractionListener;

    .line 215
    :cond_18
    const/4 v0, 0x0

    invoke-static {v0}, Lcom/cmcm/a/a;->a(Z)Z

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

    move-result-wide v0

    invoke-static {}, Lcom/cmcm/a/a;->b()J

    move-result-wide v2

    sub-long/2addr v0, v2

    .line 217
    invoke-static {}, Lcom/cmcm/a/a;->c()I

    move-result v2

    if-ne v2, v4, :cond_33

    .line 218
    invoke-static {}, Lcom/cmcm/a/a;->d()Ljava/lang/String;

    move-result-object v2

    invoke-static {v4, v2, v0, v1}, Lcom/cleanmaster/pluginscommonlib/a/b;->a(BLjava/lang/String;J)V

    .line 222
    :cond_32
    :goto_32
    return-void

    .line 219
    :cond_33
    invoke-static {}, Lcom/cmcm/a/a;->c()I

    move-result v2

    if-ne v2, v5, :cond_32

    .line 220
    invoke-static {}, Lcom/cmcm/a/a;->d()Ljava/lang/String;

    move-result-object v2

    invoke-static {v5, v2, v0, v1}, Lcom/cleanmaster/pluginscommonlib/a/b;->a(BLjava/lang/String;J)V

    goto :goto_32
.end method