InterstitialFSEventCenter.smali

.class public Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;
.super Ljava/lang/Object;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter$InterstitialFSEvent;,
        Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter$a;
    }
.end annotation


# static fields
.field private static volatile a:Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;


# instance fields
.field private b:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter$a;",
            ">;"
        }
    .end annotation
.end field

.field private c:Landroid/os/Handler;


# direct methods
.method private constructor <init>()V
    .registers 3

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

    new-instance v0, Ljava/util/HashMap;

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

    iput-object v0, p0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;->b:Ljava/util/Map;

    new-instance v0, Landroid/os/Handler;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    iput-object v0, p0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;->c:Landroid/os/Handler;

    return-void
.end method

.method public static a()Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;
    .registers 2

    sget-object v0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;->a:Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;

    if-nez v0, :cond_15

    const-class v0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;

    monitor-enter v0

    :try_start_7
    sget-object v0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;->a:Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;

    if-nez v0, :cond_12

    new-instance v0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;

    invoke-direct {v0}, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;-><init>()V

    sput-object v0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;->a:Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;

    :cond_12
    const-class v0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;

    monitor-exit v0
    :try_end_15
    .catchall {:try_start_7 .. :try_end_15} :catchall_18

    :cond_15
    sget-object v0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;->a:Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;

    return-object v0

    :catchall_18
    move-exception v0

    :try_start_19
    const-class v1, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;

    monitor-exit v1
    :try_end_1c
    .catchall {:try_start_19 .. :try_end_1c} :catchall_18

    throw v0
.end method

.method static synthetic a(Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;)Ljava/util/Map;
    .registers 2

    iget-object v0, p0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;->b:Ljava/util/Map;

    return-object v0
.end method


# virtual methods
.method a(Ljava/lang/String;)V
    .registers 3

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_7

    :goto_6
    return-void

    :cond_7
    iget-object v0, p0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;->b:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_6
.end method

.method public a(Ljava/lang/String;ILjava/lang/Object;)V
    .registers 6

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_7

    :goto_6
    return-void

    :cond_7
    iget-object v0, p0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;->c:Landroid/os/Handler;

    new-instance v1, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter$1;

    invoke-direct {v1, p0, p1, p2, p3}, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter$1;-><init>(Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;Ljava/lang/String;ILjava/lang/Object;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_6
.end method

.method public a(Ljava/lang/String;Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter$a;)V
    .registers 4

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_8

    if-nez p2, :cond_e

    :cond_8
    const-string v0, "registerListener id null or listener null"

    invoke-static {v0}, Lcom/qq/e/comm/util/GDTLogger;->d(Ljava/lang/String;)V

    :goto_d
    return-void

    :cond_e
    iget-object v0, p0, Lcom/qq/e/comm/plugin/intersitial2/fullscreen/InterstitialFSEventCenter;->b:Ljava/util/Map;

    invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_d
.end method