PrivacyAlbumNotification.smali

.class public Lcom/cleanmaster/hpsharelib/vip/privacy/PrivacyAlbumNotification;
.super Ljava/lang/Object;
.source "PrivacyAlbumNotification.java"


# static fields
.field public static executorService:Ljava/util/concurrent/ExecutorService;

.field public static topActivityName:Ljava/lang/String;


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

    .prologue
    .line 20
    const-string v0, ""

    sput-object v0, Lcom/cleanmaster/hpsharelib/vip/privacy/PrivacyAlbumNotification;->topActivityName:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .registers 1

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

    return-void
.end method

.method public static onAppLaunch(Ljava/lang/String;Ljava/lang/String;)V
    .registers 4

    .prologue
    .line 25
    :try_start_0
    sget-object v0, Lcom/cleanmaster/hpsharelib/vip/privacy/PrivacyAlbumNotification;->topActivityName:Ljava/lang/String;

    invoke-static {v0, p0}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_9

    .line 48
    :goto_8
    return-void

    .line 28
    :cond_9
    sput-object p0, Lcom/cleanmaster/hpsharelib/vip/privacy/PrivacyAlbumNotification;->topActivityName:Ljava/lang/String;

    .line 29
    sget-object v0, Lcom/cleanmaster/hpsharelib/vip/privacy/PrivacyAlbumNotification;->executorService:Ljava/util/concurrent/ExecutorService;

    if-nez v0, :cond_1e

    .line 30
    const-class v1, Lcom/cleanmaster/hpsharelib/vip/privacy/PrivacyAlbumNotification;

    monitor-enter v1
    :try_end_12
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_12} :catch_29

    .line 31
    :try_start_12
    sget-object v0, Lcom/cleanmaster/hpsharelib/vip/privacy/PrivacyAlbumNotification;->executorService:Ljava/util/concurrent/ExecutorService;

    if-nez v0, :cond_1d

    .line 32
    const/4 v0, 0x1

    invoke-static {v0}, Ljava/util/concurrent/Executors;->newFixedThreadPool(I)Ljava/util/concurrent/ExecutorService;

    move-result-object v0

    sput-object v0, Lcom/cleanmaster/hpsharelib/vip/privacy/PrivacyAlbumNotification;->executorService:Ljava/util/concurrent/ExecutorService;

    .line 34
    :cond_1d
    monitor-exit v1
    :try_end_1e
    .catchall {:try_start_12 .. :try_end_1e} :catchall_2e

    .line 36
    :cond_1e
    :try_start_1e
    sget-object v0, Lcom/cleanmaster/hpsharelib/vip/privacy/PrivacyAlbumNotification;->executorService:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/cleanmaster/hpsharelib/vip/privacy/PrivacyAlbumNotification$1;

    invoke-direct {v1, p0}, Lcom/cleanmaster/hpsharelib/vip/privacy/PrivacyAlbumNotification$1;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
    :try_end_28
    .catch Ljava/lang/Exception; {:try_start_1e .. :try_end_28} :catch_29

    goto :goto_8

    .line 44
    :catch_29
    move-exception v0

    .line 45
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_8

    .line 34
    :catchall_2e
    move-exception v0

    :try_start_2f
    monitor-exit v1
    :try_end_30
    .catchall {:try_start_2f .. :try_end_30} :catchall_2e

    :try_start_30
    throw v0
    :try_end_31
    .catch Ljava/lang/Exception; {:try_start_30 .. :try_end_31} :catch_29
.end method