what-the-bank/sources/o/lVh.java

34 lines
906 B
Java

package o;
import android.content.Context;
import java.util.HashMap;
import java.util.Map;
@Deprecated
/* loaded from: classes2.dex */
public abstract class lVh implements InterfaceC8452dLk {
private static final Map<String, lVh> b = new HashMap();
private static final Object d = new Object();
private static lVh c(Context context, String str) {
lVh lvh;
synchronized (d) {
Map<String, lVh> map = b;
lvh = map.get(str);
if (lvh == null) {
lvh = new ZpP(context, str);
map.put(str, lvh);
}
}
return lvh;
}
public static lVh a(Context context) {
Context applicationContext = context.getApplicationContext();
if (applicationContext != null) {
context = applicationContext;
}
return c(context, context.getPackageName());
}
}