Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/BiometricUnlockController.java +2 −1 Original line number Diff line number Diff line Loading @@ -433,7 +433,8 @@ public class BiometricUnlockController extends KeyguardUpdateMonitorCallback { public void onBiometricError(int msgId, String errString, BiometricSourceType biometricSourceType) { mMetricsLogger.write(new LogMaker(MetricsEvent.BIOMETRIC_AUTH) .setType(MetricsEvent.TYPE_ERROR).setSubtype(toSubtype(biometricSourceType))); .setType(MetricsEvent.TYPE_ERROR).setSubtype(toSubtype(biometricSourceType)) .addTaggedData(MetricsEvent.FIELD_BIOMETRIC_AUTH_ERROR, msgId)); cleanup(); } Loading proto/src/metrics_constants/metrics_constants.proto +5 −0 Original line number Diff line number Diff line Loading @@ -7371,6 +7371,11 @@ message MetricsEvent { // Note: Only shows up on first time toggle DIALOG_DARK_UI_INFO = 1740; // FIELD - Detailed reason in biometric authentication error. // One of the constant value in BiometricConstants.java file. // OS: Q FIELD_BIOMETRIC_AUTH_ERROR = 1741; // ---- End Q Constants, all Q constants go above this line ---- // Add new aosp constants above this line. // END OF AOSP CONSTANTS Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/BiometricUnlockController.java +2 −1 Original line number Diff line number Diff line Loading @@ -433,7 +433,8 @@ public class BiometricUnlockController extends KeyguardUpdateMonitorCallback { public void onBiometricError(int msgId, String errString, BiometricSourceType biometricSourceType) { mMetricsLogger.write(new LogMaker(MetricsEvent.BIOMETRIC_AUTH) .setType(MetricsEvent.TYPE_ERROR).setSubtype(toSubtype(biometricSourceType))); .setType(MetricsEvent.TYPE_ERROR).setSubtype(toSubtype(biometricSourceType)) .addTaggedData(MetricsEvent.FIELD_BIOMETRIC_AUTH_ERROR, msgId)); cleanup(); } Loading
proto/src/metrics_constants/metrics_constants.proto +5 −0 Original line number Diff line number Diff line Loading @@ -7371,6 +7371,11 @@ message MetricsEvent { // Note: Only shows up on first time toggle DIALOG_DARK_UI_INFO = 1740; // FIELD - Detailed reason in biometric authentication error. // One of the constant value in BiometricConstants.java file. // OS: Q FIELD_BIOMETRIC_AUTH_ERROR = 1741; // ---- End Q Constants, all Q constants go above this line ---- // Add new aosp constants above this line. // END OF AOSP CONSTANTS Loading