36 lines
1.1 KiB
Java
36 lines
1.1 KiB
Java
package c.i.a.f.e.k;
|
|
|
|
import android.content.Context;
|
|
import android.content.pm.PackageManager;
|
|
import android.os.Bundle;
|
|
import android.util.Log;
|
|
import androidx.annotation.Nullable;
|
|
import c.i.a.f.e.p.b;
|
|
/* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */
|
|
public final class q0 {
|
|
public static Object a = new Object();
|
|
public static boolean b;
|
|
@Nullable
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public static String f1058c;
|
|
public static int d;
|
|
|
|
public static void a(Context context) {
|
|
synchronized (a) {
|
|
if (!b) {
|
|
b = true;
|
|
try {
|
|
Bundle bundle = b.a(context).a(context.getPackageName(), 128).metaData;
|
|
if (bundle != null) {
|
|
f1058c = bundle.getString("com.google.app.id");
|
|
d = bundle.getInt("com.google.android.gms.version");
|
|
}
|
|
} catch (PackageManager.NameNotFoundException e) {
|
|
Log.wtf("MetadataValueReader", "This should never happen.", e);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|