- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
39 lines
1.1 KiB
Java
39 lines
1.1 KiB
Java
package com.google.android.gms.common.wrappers;
|
|
|
|
import android.content.Context;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.VisibleForTesting;
|
|
import com.google.android.gms.common.annotation.KeepForSdk;
|
|
|
|
@KeepForSdk
|
|
/* loaded from: classes2.dex */
|
|
public class Wrappers {
|
|
private static final Wrappers zza = new Wrappers();
|
|
|
|
@Nullable
|
|
private PackageManagerWrapper zzb = null;
|
|
|
|
@NonNull
|
|
@KeepForSdk
|
|
public static PackageManagerWrapper packageManager(@NonNull Context context) {
|
|
return zza.zza(context);
|
|
}
|
|
|
|
@NonNull
|
|
@VisibleForTesting
|
|
public final synchronized PackageManagerWrapper zza(@NonNull Context context) {
|
|
try {
|
|
if (this.zzb == null) {
|
|
if (context.getApplicationContext() != null) {
|
|
context = context.getApplicationContext();
|
|
}
|
|
this.zzb = new PackageManagerWrapper(context);
|
|
}
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
return this.zzb;
|
|
}
|
|
}
|