Initial commit
This commit is contained in:
33
sources/com/tencent/open/utils/d.java
Normal file
33
sources/com/tencent/open/utils/d.java
Normal file
@@ -0,0 +1,33 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user