what-the-bank/sources/com/google/android/gms/internal/clearcut/zzaa.java

49 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.clearcut;
import android.content.Context;
import android.os.UserManager;
/* loaded from: classes2.dex */
public class zzaa {
private static volatile UserManager zzdc;
private static volatile boolean zzdd = !zzf();
private static boolean zzf() {
return true;
}
private static boolean zzf(Context context) {
boolean z = zzdd;
if (!z) {
UserManager userManager = zzdc;
if (userManager == null) {
synchronized (zzaa.class) {
userManager = zzdc;
if (userManager == null) {
UserManager userManager2 = (UserManager) context.getSystemService(UserManager.class);
zzdc = userManager2;
if (userManager2 == null) {
zzdd = true;
return true;
}
userManager = userManager2;
}
}
}
z = userManager.isUserUnlocked();
zzdd = z;
if (z) {
zzdc = null;
}
}
return z;
}
public static boolean zze(Context context) {
return zzf() && !zzf(context);
}
private zzaa() {
}
}