34 lines
683 B
Java
34 lines
683 B
Java
package com.tencent.open.utils;
|
|
|
|
import android.content.Context;
|
|
import java.io.File;
|
|
|
|
/* compiled from: ProGuard */
|
|
/* loaded from: classes.dex */
|
|
public final class d {
|
|
private static Context a;
|
|
|
|
public static final Context a() {
|
|
Context context = a;
|
|
if (context == null) {
|
|
return null;
|
|
}
|
|
return context;
|
|
}
|
|
|
|
public static final String b() {
|
|
return a() == null ? "" : a().getPackageName();
|
|
}
|
|
|
|
public static final File c() {
|
|
if (a() == null) {
|
|
return null;
|
|
}
|
|
return a().getFilesDir();
|
|
}
|
|
|
|
public static final void a(Context context) {
|
|
a = context;
|
|
}
|
|
}
|