j.smali

.class public final Lzlc/season/rxdownload4/manager/j;
.super Ljava/lang/Object;
.source "NotificationHelper.kt"


# static fields
.field static final synthetic a:[Lkotlin/reflect/h;

.field private static final b:Lkotlin/f;


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

    const/4 v0, 0x1

    new-array v0, v0, [Lkotlin/reflect/h;

    new-instance v1, Lkotlin/jvm/internal/PropertyReference0Impl;

    const-class v2, Lzlc/season/rxdownload4/manager/j;

    const-string v3, "rxdownload4_release"

    invoke-static {v2, v3}, Lkotlin/jvm/internal/k;->a(Ljava/lang/Class;Ljava/lang/String;)Lkotlin/reflect/e;

    move-result-object v2

    const-string v3, "notificationManager"

    const-string v4, "getNotificationManager()Landroid/app/NotificationManager;"

    invoke-direct {v1, v2, v3, v4}, Lkotlin/jvm/internal/PropertyReference0Impl;-><init>(Lkotlin/reflect/e;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v1}, Lkotlin/jvm/internal/k;->a(Lkotlin/jvm/internal/PropertyReference0;)Lkotlin/reflect/i;

    const/4 v2, 0x0

    aput-object v1, v0, v2

    sput-object v0, Lzlc/season/rxdownload4/manager/j;->a:[Lkotlin/reflect/h;

    .line 1
    sget-object v0, Lzlc/season/rxdownload4/manager/NotificationHelperKt$notificationManager$2;->INSTANCE:Lzlc/season/rxdownload4/manager/NotificationHelperKt$notificationManager$2;

    invoke-static {v0}, Lkotlin/g;->a(Lkotlin/jvm/a/a;)Lkotlin/f;

    move-result-object v0

    sput-object v0, Lzlc/season/rxdownload4/manager/j;->b:Lkotlin/f;

    return-void
.end method

.method private static final a()Landroid/app/NotificationManager;
    .registers 3

    sget-object v0, Lzlc/season/rxdownload4/manager/j;->b:Lkotlin/f;

    sget-object v1, Lzlc/season/rxdownload4/manager/j;->a:[Lkotlin/reflect/h;

    const/4 v2, 0x0

    aget-object v1, v1, v2

    invoke-interface {v0}, Lkotlin/f;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/NotificationManager;

    return-object v0
.end method

.method public static final a(Lzlc/season/rxdownload4/a/a/a;)V
    .registers 2

    const-string v0, "task"

    invoke-static {p0, v0}, Lkotlin/jvm/internal/i;->d(Ljava/lang/Object;Ljava/lang/String;)V

    .line 2
    invoke-static {}, Lzlc/season/rxdownload4/manager/j;->a()Landroid/app/NotificationManager;

    move-result-object v0

    invoke-virtual {p0}, Lzlc/season/rxdownload4/a/a/a;->hashCode()I

    move-result p0

    invoke-virtual {v0, p0}, Landroid/app/NotificationManager;->cancel(I)V

    return-void
.end method

.method public static final a(Lzlc/season/rxdownload4/a/a/a;Landroid/app/Notification;)V
    .registers 3

    const-string v0, "task"

    invoke-static {p0, v0}, Lkotlin/jvm/internal/i;->d(Ljava/lang/Object;Ljava/lang/String;)V

    if-eqz p1, :cond_12

    .line 1
    invoke-static {}, Lzlc/season/rxdownload4/manager/j;->a()Landroid/app/NotificationManager;

    move-result-object v0

    invoke-virtual {p0}, Lzlc/season/rxdownload4/a/a/a;->hashCode()I

    move-result p0

    invoke-virtual {v0, p0, p1}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V

    :cond_12
    return-void
.end method