PushManager.smali

.class public Lcom/vivo/push/PushManager;
.super Ljava/lang/Object;
.source "PushManager.java"


# static fields
.field public static final DEFAULT_REQUEST_ID:Ljava/lang/String; = "1"

.field private static final SLOCK:Ljava/lang/Object;

.field private static final TAG:Ljava/lang/String; = "PushManager"

.field private static volatile sPushClient:Lcom/vivo/push/PushManager;


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

    .prologue
    .line 23
    new-instance v0, Ljava/lang/Object;

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

    sput-object v0, Lcom/vivo/push/PushManager;->SLOCK:Ljava/lang/Object;

    return-void
.end method

.method private constructor <init>(Landroid/content/Context;)V
    .registers 3

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

    .line 28
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/vivo/push/p;->a(Landroid/content/Context;)V

    .line 29
    invoke-static {p1}, Lcom/vivo/push/LocalAliasTagsManager;->getInstance(Landroid/content/Context;)Lcom/vivo/push/LocalAliasTagsManager;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/LocalAliasTagsManager;->init()V

    .line 30
    return-void
.end method

.method private delLocalTag(Ljava/lang/String;)V
    .registers 3

    .prologue
    .line 256
    invoke-virtual {p0, p1}, Lcom/vivo/push/PushManager;->checkParam(Ljava/lang/String;)V

    .line 257
    new-instance v0, Ljava/util/ArrayList;

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

    .line 258
    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 259
    invoke-virtual {p0, v0}, Lcom/vivo/push/PushManager;->delLocalTags(Ljava/util/ArrayList;)V

    .line 260
    return-void
.end method

.method public static getInstance(Landroid/content/Context;)Lcom/vivo/push/PushManager;
    .registers 4

    .prologue
    .line 40
    sget-object v0, Lcom/vivo/push/PushManager;->sPushClient:Lcom/vivo/push/PushManager;

    if-nez v0, :cond_17

    .line 41
    sget-object v1, Lcom/vivo/push/PushManager;->SLOCK:Ljava/lang/Object;

    monitor-enter v1

    .line 42
    :try_start_7
    sget-object v0, Lcom/vivo/push/PushManager;->sPushClient:Lcom/vivo/push/PushManager;

    if-nez v0, :cond_16

    .line 43
    new-instance v0, Lcom/vivo/push/PushManager;

    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v0, v2}, Lcom/vivo/push/PushManager;-><init>(Landroid/content/Context;)V

    sput-object v0, Lcom/vivo/push/PushManager;->sPushClient:Lcom/vivo/push/PushManager;

    .line 45
    :cond_16
    monitor-exit v1
    :try_end_17
    .catchall {:try_start_7 .. :try_end_17} :catchall_1a

    .line 47
    :cond_17
    sget-object v0, Lcom/vivo/push/PushManager;->sPushClient:Lcom/vivo/push/PushManager;

    return-object v0

    .line 45
    :catchall_1a
    move-exception v0

    :try_start_1b
    monitor-exit v1
    :try_end_1c
    .catchall {:try_start_1b .. :try_end_1c} :catchall_1a

    throw v0
.end method

.method private setLocalTag(Ljava/lang/String;)V
    .registers 3

    .prologue
    .line 234
    invoke-virtual {p0, p1}, Lcom/vivo/push/PushManager;->checkParam(Ljava/lang/String;)V

    .line 235
    new-instance v0, Ljava/util/ArrayList;

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

    .line 236
    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 237
    invoke-virtual {p0, v0}, Lcom/vivo/push/PushManager;->setLocalTags(Ljava/util/ArrayList;)V

    .line 238
    return-void
.end method

.method private stopWork()V
    .registers 2

    .prologue
    .line 71
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->j()V

    .line 72
    return-void
.end method


# virtual methods
.method public bindAlias(Ljava/lang/String;Lcom/vivo/push/IPushActionListener;)V
    .registers 4

    .prologue
    .line 124
    invoke-virtual {p0, p1}, Lcom/vivo/push/PushManager;->checkParam(Ljava/lang/String;)V

    .line 125
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/vivo/push/p;->a(Ljava/lang/String;Lcom/vivo/push/IPushActionListener;)V

    .line 126
    return-void
.end method

.method public checkManifest()V
    .registers 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/vivo/push/util/VivoPushException;
        }
    .end annotation

    .prologue
    .line 63
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->b()V

    .line 64
    return-void
.end method

.method public checkParam(Ljava/lang/String;)V
    .registers 5

    .prologue
    .line 95
    if-nez p1, :cond_17

    .line 96
    new-instance v0, Ljava/lang/RuntimeException;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "PushManager String param should not be "

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

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

    move-result-object v1

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

    move-result-object v1

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

    throw v0

    .line 98
    :cond_17
    return-void
.end method

.method public checkParam(Ljava/util/List;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    const/4 v2, 0x0

    .line 102
    const/4 v0, 0x1

    .line 103
    if-eqz p1, :cond_a

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    if-gtz v1, :cond_b

    :cond_a
    move v0, v2

    .line 106
    :cond_b
    if-eqz v0, :cond_23

    .line 107
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    move v1, v0

    :goto_12
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_24

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 108
    if-nez v0, :cond_3c

    move v0, v2

    :goto_21
    move v1, v0

    .line 111
    goto :goto_12

    :cond_23
    move v1, v0

    .line 114
    :cond_24
    if-nez v1, :cond_3b

    .line 115
    new-instance v0, Ljava/lang/IllegalArgumentException;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "PushManager param should not be "

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

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

    move-result-object v1

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

    move-result-object v1

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

    throw v0

    .line 117
    :cond_3b
    return-void

    :cond_3c
    move v0, v1

    goto :goto_21
.end method

.method public delLocalAlias()V
    .registers 3

    .prologue
    .line 248
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->h()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/vivo/push/LocalAliasTagsManager;->getInstance(Landroid/content/Context;)Lcom/vivo/push/LocalAliasTagsManager;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/LocalAliasTagsManager;->getLocalAlias()Ljava/lang/String;

    move-result-object v0

    .line 249
    if-eqz v0, :cond_21

    .line 250
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v1

    invoke-virtual {v1}, Lcom/vivo/push/p;->h()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/vivo/push/LocalAliasTagsManager;->getInstance(Landroid/content/Context;)Lcom/vivo/push/LocalAliasTagsManager;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/vivo/push/LocalAliasTagsManager;->delLocalAlias(Ljava/lang/String;)V

    .line 252
    :cond_21
    return-void
.end method

.method public delLocalTags(Ljava/util/ArrayList;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 264
    invoke-virtual {p0, p1}, Lcom/vivo/push/PushManager;->checkParam(Ljava/util/List;)V

    .line 265
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->h()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/vivo/push/LocalAliasTagsManager;->getInstance(Landroid/content/Context;)Lcom/vivo/push/LocalAliasTagsManager;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/vivo/push/LocalAliasTagsManager;->delLocalTags(Ljava/util/ArrayList;)V

    .line 266
    return-void
.end method

.method public delTopic(Ljava/lang/String;Ljava/lang/String;)V
    .registers 5

    .prologue
    .line 171
    invoke-virtual {p0, p2}, Lcom/vivo/push/PushManager;->checkParam(Ljava/lang/String;)V

    .line 172
    new-instance v0, Ljava/util/ArrayList;

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

    .line 173
    invoke-virtual {v0, p2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 174
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v1

    invoke-virtual {v1, p1, v0}, Lcom/vivo/push/p;->b(Ljava/lang/String;Ljava/util/ArrayList;)V

    .line 175
    return-void
.end method

.method public delTopic(Ljava/lang/String;Ljava/util/ArrayList;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/ArrayList",
            "<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 191
    invoke-virtual {p0, p2}, Lcom/vivo/push/PushManager;->checkParam(Ljava/util/List;)V

    .line 192
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/vivo/push/p;->b(Ljava/lang/String;Ljava/util/ArrayList;)V

    .line 193
    return-void
.end method

.method public delTopic(Ljava/util/ArrayList;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 182
    invoke-virtual {p0, p1}, Lcom/vivo/push/PushManager;->checkParam(Ljava/util/List;)V

    .line 183
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    const-string v1, "1"

    invoke-virtual {v0, v1, p1}, Lcom/vivo/push/p;->b(Ljava/lang/String;Ljava/util/ArrayList;)V

    .line 184
    return-void
.end method

.method public disableNet()V
    .registers 2

    .prologue
    .line 314
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->o()V

    .line 315
    return-void
.end method

.method public enableNet()V
    .registers 2

    .prologue
    .line 295
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->n()V

    .line 296
    return-void
.end method

.method public getClientId()Ljava/lang/String;
    .registers 4

    .prologue
    .line 322
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->h()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/vivo/push/util/y;->b(Landroid/content/Context;)Lcom/vivo/push/util/y;

    move-result-object v0

    const-string v1, "com.vivo.pushservice.client_id"

    .line 1078
    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/vivo/push/util/y;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 322
    return-object v0
.end method

.method public getDebugInfo()Ljava/util/Map;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .prologue
    .line 355
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->t()Ljava/util/Map;

    move-result-object v0

    return-object v0
.end method

.method public getRegId()Ljava/lang/String;
    .registers 2

    .prologue
    .line 326
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->f()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getVersion()Ljava/lang/String;
    .registers 2

    .prologue
    .line 347
    const-string v0, "2.4.0"

    return-object v0
.end method

.method public initialize()V
    .registers 2

    .prologue
    .line 55
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->i()V

    .line 56
    return-void
.end method

.method public isEnableNet()Z
    .registers 2

    .prologue
    .line 306
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->q()Z

    move-result v0

    return v0
.end method

.method public isEnablePush()Z
    .registers 2

    .prologue
    .line 277
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->h()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/vivo/push/cache/ClientConfigManagerImpl;->getInstance(Landroid/content/Context;)Lcom/vivo/push/cache/ClientConfigManagerImpl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/cache/ClientConfigManagerImpl;->isEnablePush()Z

    move-result v0

    return v0
.end method

.method public isPushProcess()Z
    .registers 2

    .prologue
    .line 287
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->h()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/vivo/push/util/z;->a(Landroid/content/Context;)Z

    move-result v0

    return v0
.end method

.method killPush()V
    .registers 2

    .prologue
    .line 79
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->r()V

    .line 80
    return-void
.end method

.method public reportData(Landroid/content/Context;JJ)Z
    .registers 10

    .prologue
    .line 367
    const-string v0, "PushManager"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "report message: "

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

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

    move-result-object v1

    const-string v2, ", reportType: "

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

    move-result-object v1

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

    move-result-object v1

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

    move-result-object v1

    invoke-static {v0, v1}, Lcom/vivo/push/util/p;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 368
    const-wide/16 v0, 0x0

    cmp-long v0, p4, v0

    if-gtz v0, :cond_26

    .line 369
    const/4 v0, 0x0

    .line 376
    :goto_25
    return v0

    .line 371
    :cond_26
    new-instance v0, Lcom/vivo/push/b/y;

    invoke-direct {v0, p4, p5}, Lcom/vivo/push/b/y;-><init>(J)V

    .line 372
    new-instance v1, Ljava/util/HashMap;

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

    .line 373
    const-string v2, "messageID"

    invoke-static {p2, p3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 374
    invoke-virtual {v0, v1}, Lcom/vivo/push/b/y;->a(Ljava/util/HashMap;)V

    .line 375
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/vivo/push/p;->a(Lcom/vivo/push/y;)V

    .line 376
    const/4 v0, 0x1

    goto :goto_25
.end method

.method public reset()V
    .registers 2

    .prologue
    .line 88
    invoke-static {}, Lcom/vivo/push/util/p;->a()Z

    move-result v0

    if-eqz v0, :cond_d

    .line 89
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->m()V

    .line 91
    :cond_d
    return-void
.end method

.method public setDebugMode(Z)V
    .registers 3

    .prologue
    .line 330
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/vivo/push/p;->b(Z)V

    .line 331
    return-void
.end method

.method public setLocalAlias(Ljava/lang/String;)V
    .registers 3

    .prologue
    .line 228
    invoke-virtual {p0, p1}, Lcom/vivo/push/PushManager;->checkParam(Ljava/lang/String;)V

    .line 229
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->h()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/vivo/push/LocalAliasTagsManager;->getInstance(Landroid/content/Context;)Lcom/vivo/push/LocalAliasTagsManager;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/vivo/push/LocalAliasTagsManager;->setLocalAlias(Ljava/lang/String;)V

    .line 230
    return-void
.end method

.method public setLocalTags(Ljava/util/ArrayList;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 242
    invoke-virtual {p0, p1}, Lcom/vivo/push/PushManager;->checkParam(Ljava/util/List;)V

    .line 243
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->h()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/vivo/push/LocalAliasTagsManager;->getInstance(Landroid/content/Context;)Lcom/vivo/push/LocalAliasTagsManager;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/vivo/push/LocalAliasTagsManager;->setLocalTags(Ljava/util/ArrayList;)V

    .line 244
    return-void
.end method

.method public setMode(I)V
    .registers 3

    .prologue
    .line 334
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/vivo/push/p;->a(I)V

    .line 335
    return-void
.end method

.method public setNotifyStyle(I)V
    .registers 3

    .prologue
    .line 59
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/vivo/push/p;->b(I)V

    .line 60
    return-void
.end method

.method public setSystemModel(Z)V
    .registers 3

    .prologue
    .line 343
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/vivo/push/p;->a(Z)V

    .line 344
    return-void
.end method

.method public setTopic(Ljava/lang/String;Ljava/lang/String;)V
    .registers 5

    .prologue
    .line 142
    invoke-virtual {p0, p2}, Lcom/vivo/push/PushManager;->checkParam(Ljava/lang/String;)V

    .line 143
    new-instance v0, Ljava/util/ArrayList;

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

    .line 144
    invoke-virtual {v0, p2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 145
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v1

    invoke-virtual {v1, p1, v0}, Lcom/vivo/push/p;->a(Ljava/lang/String;Ljava/util/ArrayList;)V

    .line 146
    return-void
.end method

.method public setTopic(Ljava/lang/String;Ljava/util/ArrayList;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/ArrayList",
            "<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 162
    invoke-virtual {p0, p2}, Lcom/vivo/push/PushManager;->checkParam(Ljava/util/List;)V

    .line 163
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/vivo/push/p;->a(Ljava/lang/String;Ljava/util/ArrayList;)V

    .line 164
    return-void
.end method

.method public setTopic(Ljava/util/ArrayList;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 153
    invoke-virtual {p0, p1}, Lcom/vivo/push/PushManager;->checkParam(Ljava/util/List;)V

    .line 154
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    const-string v1, "1"

    invoke-virtual {v0, v1, p1}, Lcom/vivo/push/p;->a(Ljava/lang/String;Ljava/util/ArrayList;)V

    .line 155
    return-void
.end method

.method public showDebugInfo()V
    .registers 2

    .prologue
    .line 351
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/vivo/push/p;->p()V

    .line 352
    return-void
.end method

.method public turnOffPush()V
    .registers 2

    .prologue
    .line 215
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/vivo/push/PushManager;->turnOffPush(Lcom/vivo/push/IPushActionListener;)V

    .line 216
    return-void
.end method

.method public turnOffPush(Lcom/vivo/push/IPushActionListener;)V
    .registers 3

    .prologue
    .line 223
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/vivo/push/p;->b(Lcom/vivo/push/IPushActionListener;)V

    .line 224
    return-void
.end method

.method public turnOnPush()V
    .registers 2

    .prologue
    .line 200
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/vivo/push/PushManager;->turnOnPush(Lcom/vivo/push/IPushActionListener;)V

    .line 201
    return-void
.end method

.method public turnOnPush(Lcom/vivo/push/IPushActionListener;)V
    .registers 3

    .prologue
    .line 207
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/vivo/push/p;->a(Lcom/vivo/push/IPushActionListener;)V

    .line 208
    return-void
.end method

.method public unBindAlias(Ljava/lang/String;Lcom/vivo/push/IPushActionListener;)V
    .registers 4

    .prologue
    .line 133
    invoke-virtual {p0, p1}, Lcom/vivo/push/PushManager;->checkParam(Ljava/lang/String;)V

    .line 134
    invoke-static {}, Lcom/vivo/push/p;->a()Lcom/vivo/push/p;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/vivo/push/p;->b(Ljava/lang/String;Lcom/vivo/push/IPushActionListener;)V

    .line 135
    return-void
.end method