HeapAnalyzeService$a.smali

.class public final Lsg/bigo/apm/plugins/memoryinfo/hprof/HeapAnalyzeService$a;
.super Ljava/lang/Object;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigo/apm/plugins/memoryinfo/hprof/HeapAnalyzeService;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = "a"
.end annotation


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

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

    return-void
.end method

.method public synthetic constructor <init>(Lkotlin/f/b/j;)V
    .registers 2

    .line 235
    invoke-direct {p0}, Lsg/bigo/apm/plugins/memoryinfo/hprof/HeapAnalyzeService$a;-><init>()V

    return-void
.end method

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

    const-string v0, "hprofPath"

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

    .line 320
    sget-object v0, Lkotlin/w;->a:Lkotlin/w;

    .line 328
    invoke-static {}, Lsg/bigo/common/a;->e()Z

    move-result v0

    const/16 v1, 0x403

    const-string v2, "key_hprof_path"

    if-eqz v0, :cond_2b

    .line 244
    :try_start_11
    invoke-static {}, Lsg/bigo/common/a;->d()Landroid/content/Context;

    move-result-object v0

    .line 245
    new-instance v3, Landroid/content/Intent;

    const-class v4, Lsg/bigo/apm/plugins/memoryinfo/hprof/HeapAnalyzeService;

    invoke-direct {v3, v0, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 246
    invoke-virtual {v3, v2, p0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 247
    const-class p0, Lsg/bigo/apm/plugins/memoryinfo/hprof/HeapAnalyzeService;

    invoke-static {v0, p0, v1, v3}, Landroidx/core/app/JobIntentService;->enqueueWork(Landroid/content/Context;Ljava/lang/Class;ILandroid/content/Intent;)V

    .line 248
    sget-object p0, Lkotlin/w;->a:Lkotlin/w;
    :try_end_26
    .catchall {:try_start_11 .. :try_end_26} :catchall_27

    return-void

    .line 333
    :catchall_27
    invoke-static {}, Lsg/bigo/common/a;->e()Z

    return-void

    .line 244
    :cond_2b
    invoke-static {}, Lsg/bigo/common/a;->d()Landroid/content/Context;

    move-result-object v0

    .line 245
    new-instance v3, Landroid/content/Intent;

    const-class v4, Lsg/bigo/apm/plugins/memoryinfo/hprof/HeapAnalyzeService;

    invoke-direct {v3, v0, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 246
    invoke-virtual {v3, v2, p0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 247
    const-class p0, Lsg/bigo/apm/plugins/memoryinfo/hprof/HeapAnalyzeService;

    invoke-static {v0, p0, v1, v3}, Landroidx/core/app/JobIntentService;->enqueueWork(Landroid/content/Context;Ljava/lang/Class;ILandroid/content/Intent;)V

    return-void
.end method