Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
package androidx.biometric;
import android.content.Context;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
/* loaded from: classes.dex */
class ErrorUtils {
public static boolean isKnownError(int i) {
switch (i) {
case 1:
case 2:
case 3:
case 4:
case 5:
case 7:
case 8:
case 9:
case 10:
case 11:
case 12:
case 13:
case 14:
case 15:
return true;
case 6:
default:
return false;
}
}
public static boolean isLockoutError(int i) {
return i == 7 || i == 9;
}
private ErrorUtils() {
}
@NonNull
public static String getFingerprintErrorString(@Nullable Context context, int i) {
if (context == null) {
return "";
}
if (i == 1) {
return context.getString(R.string.fingerprint_error_hw_not_available);
}
if (i != 7) {
switch (i) {
case 9:
break;
case 10:
return context.getString(R.string.fingerprint_error_user_canceled);
case 11:
return context.getString(R.string.fingerprint_error_no_fingerprints);
case 12:
return context.getString(R.string.fingerprint_error_hw_not_present);
default:
Log.e("BiometricUtils", "Unknown error code: " + i);
return context.getString(R.string.default_error_msg);
}
}
return context.getString(R.string.fingerprint_error_lockout);
}
}