JunkHelper.smali

.class Lcom/cleanmaster/junk/util/JunkHelper;
.super Ljava/lang/Object;
.source "JunkHelper.java"


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

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

    return-void
.end method

.method public static getString(I)Ljava/lang/String;
    .registers 2
    .param p0    # I
        .annotation build Landroid/support/annotation/StringRes;
        .end annotation
    .end param

    .prologue
    .line 16
    invoke-static {}, Lcom/cleanmaster/junk/util/JunkUtils;->getContext()Landroid/content/Context;

    move-result-object v0

    .line 17
    if-nez v0, :cond_a

    .line 18
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/HostHelper;->getAppContext()Landroid/content/Context;

    move-result-object v0

    .line 20
    :cond_a
    if-nez v0, :cond_f

    .line 21
    const-string v0, ""

    .line 29
    :goto_e
    return-object v0

    .line 25
    :cond_f
    :try_start_f
    invoke-virtual {v0, p0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
    :try_end_12
    .catch Landroid/content/res/Resources$NotFoundException; {:try_start_f .. :try_end_12} :catch_14

    move-result-object v0

    goto :goto_e

    .line 26
    :catch_14
    move-exception v0

    .line 27
    const-string v0, ""

    goto :goto_e
.end method