what-the-bank/sources/com/huawei/hms/hatool/q1.java

35 lines
777 B
Java

package com.huawei.hms.hatool;
import android.content.Context;
import android.os.UserManager;
/* loaded from: classes2.dex */
public class q1 {
private static q1 c = new q1();
private boolean a = false;
private Context b = q0.i();
public boolean a() {
if (!this.a) {
Context context = this.b;
if (context == null) {
return false;
}
UserManager userManager = (UserManager) context.getSystemService("user");
if (userManager != null) {
this.a = userManager.isUserUnlocked();
} else {
this.a = false;
}
}
return this.a;
}
public static q1 b() {
return c;
}
private q1() {
}
}