92 lines
1.8 KiB
Smali
92 lines
1.8 KiB
Smali
.class public final Lcom/tencent/open/utils/d;
|
|
.super Ljava/lang/Object;
|
|
.source "ProGuard"
|
|
|
|
|
|
# static fields
|
|
.field private static a:Landroid/content/Context;
|
|
|
|
|
|
# direct methods
|
|
.method public static final a()Landroid/content/Context;
|
|
.locals 1
|
|
|
|
.line 54
|
|
sget-object v0, Lcom/tencent/open/utils/d;->a:Landroid/content/Context;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
.line 59
|
|
:cond_0
|
|
sget-object v0, Lcom/tencent/open/utils/d;->a:Landroid/content/Context;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final a(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 64
|
|
sput-object p0, Lcom/tencent/open/utils/d;->a:Landroid/content/Context;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final b()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 69
|
|
invoke-static {}, Lcom/tencent/open/utils/d;->a()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, ""
|
|
|
|
return-object v0
|
|
|
|
.line 72
|
|
:cond_0
|
|
invoke-static {}, Lcom/tencent/open/utils/d;->a()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final c()Ljava/io/File;
|
|
.locals 1
|
|
|
|
.line 85
|
|
invoke-static {}, Lcom/tencent/open/utils/d;->a()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
.line 88
|
|
:cond_0
|
|
invoke-static {}, Lcom/tencent/open/utils/d;->a()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getFilesDir()Ljava/io/File;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|