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