- 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
41 lines
1.3 KiB
Java
41 lines
1.3 KiB
Java
package com.google.android.gms.internal.measurement;
|
|
|
|
import android.content.Context;
|
|
import android.net.Uri;
|
|
import androidx.annotation.GuardedBy;
|
|
import androidx.collection.ArrayMap;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzgx {
|
|
|
|
@GuardedBy("PhenotypeConstants.class")
|
|
private static final ArrayMap<String, Uri> zza = new ArrayMap<>();
|
|
|
|
public static synchronized Uri zza(String str) {
|
|
Uri uri;
|
|
synchronized (zzgx.class) {
|
|
ArrayMap<String, Uri> arrayMap = zza;
|
|
uri = arrayMap.get(str);
|
|
if (uri == null) {
|
|
uri = Uri.parse("content://com.google.android.gms.phenotype/" + Uri.encode(str));
|
|
arrayMap.put(str, uri);
|
|
}
|
|
}
|
|
return uri;
|
|
}
|
|
|
|
public static String zza(Context context, String str) {
|
|
if (str.contains("#")) {
|
|
throw new IllegalArgumentException("The passed in package cannot already have a subpackage: " + str);
|
|
}
|
|
return str + "#" + context.getPackageName();
|
|
}
|
|
|
|
public static boolean zza(String str, String str2) {
|
|
if (str.equals("eng") || str.equals("userdebug")) {
|
|
return str2.contains("dev-keys") || str2.contains("test-keys");
|
|
}
|
|
return false;
|
|
}
|
|
}
|