24 lines
661 B
Java
24 lines
661 B
Java
package com.google.android.gms.common.wrappers;
|
|
|
|
import android.content.Context;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class Wrappers {
|
|
private static Wrappers b = new Wrappers();
|
|
private PackageManagerWrapper a = null;
|
|
|
|
public static PackageManagerWrapper a(Context context) {
|
|
return b.b(context);
|
|
}
|
|
|
|
private final synchronized PackageManagerWrapper b(Context context) {
|
|
if (this.a == null) {
|
|
if (context.getApplicationContext() != null) {
|
|
context = context.getApplicationContext();
|
|
}
|
|
this.a = new PackageManagerWrapper(context);
|
|
}
|
|
return this.a;
|
|
}
|
|
}
|