c.smali

.class public final Lcom/singbox/component/storage/b/c;
.super Lcom/singbox/component/storage/b/b;
.source "SourceFile"


# static fields
.field static final synthetic a:[Lkotlin/k/g;

.field public static final b:Lcom/singbox/component/storage/b/c;

.field private static final c:Lcom/singbox/component/storage/b/g;


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

    const/4 v0, 0x1

    new-array v0, v0, [Lkotlin/k/g;

    new-instance v1, Lkotlin/f/b/t;

    const-class v2, Lcom/singbox/component/storage/b/c;

    invoke-static {v2}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;

    move-result-object v2

    const-string v3, "deviceId"

    const-string v4, "getDeviceId()Ljava/lang/String;"

    invoke-direct {v1, v2, v3, v4}, Lkotlin/f/b/t;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v1}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/s;)Lkotlin/k/f;

    move-result-object v1

    check-cast v1, Lkotlin/k/g;

    const/4 v2, 0x0

    aput-object v1, v0, v2

    sput-object v0, Lcom/singbox/component/storage/b/c;->a:[Lkotlin/k/g;

    .line 11
    new-instance v0, Lcom/singbox/component/storage/b/c;

    invoke-direct {v0}, Lcom/singbox/component/storage/b/c;-><init>()V

    sput-object v0, Lcom/singbox/component/storage/b/c;->b:Lcom/singbox/component/storage/b/c;

    .line 15
    new-instance v0, Lcom/singbox/component/storage/b/g;

    sget-object v1, Lcom/singbox/component/storage/b/c$a;->a:Lcom/singbox/component/storage/b/c$a;

    check-cast v1, Lkotlin/f/a/a;

    invoke-direct {v0, v1}, Lcom/singbox/component/storage/b/g;-><init>(Lkotlin/f/a/a;)V

    sput-object v0, Lcom/singbox/component/storage/b/c;->c:Lcom/singbox/component/storage/b/g;

    return-void
.end method

.method private constructor <init>()V
    .registers 2

    .line 11
    sget-object v0, Lcom/singbox/component/storage/b/c$1;->a:Lcom/singbox/component/storage/b/c$1;

    check-cast v0, Lkotlin/f/a/a;

    invoke-direct {p0, v0}, Lcom/singbox/component/storage/b/b;-><init>(Lkotlin/f/a/a;)V

    return-void
.end method


# virtual methods
.method public final a(Ljava/lang/String;)V
    .registers 4

    const-string v0, "taskName"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 26
    move-object v0, p1

    check-cast v0, Ljava/lang/CharSequence;

    invoke-interface {v0}, Ljava/lang/CharSequence;->length()I

    move-result v0

    const/4 v1, 0x0

    if-lez v0, :cond_11

    const/4 v0, 0x1

    goto :goto_12

    :cond_11
    const/4 v0, 0x0

    :goto_12
    if-eqz v0, :cond_27

    .line 1010
    iget-object v0, p0, Lcom/singbox/component/storage/b/b;->j:Lkotlin/f/a/a;

    .line 27
    invoke-interface {v0}, Lkotlin/f/a/a;->invoke()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/SharedPreferences;

    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    .line 28
    invoke-interface {v0, p1, v1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object p1

    .line 29
    invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V

    :cond_27
    return-void
.end method