diff options
| author | 2023-03-02 16:24:16 +0000 | |
|---|---|---|
| committer | 2023-03-02 16:24:16 +0000 | |
| commit | 58112a38d6a43a919c654c004dc93194f49a76c5 (patch) | |
| tree | 270febec317beec66f8cbc1b90fac6e5598c3307 | |
| parent | 6c31e64588916ff19bec0d0bac247302f4543e7d (diff) | |
| parent | b639a793368333c6a78206624d2ace284ec11e79 (diff) | |
Merge "(1/2) Fix No clear steps for "re-enroll face unlock" into udc-dev
| -rw-r--r-- | services/core/java/com/android/server/biometrics/sensors/BiometricNotificationUtils.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/biometrics/sensors/BiometricNotificationUtils.java b/services/core/java/com/android/server/biometrics/sensors/BiometricNotificationUtils.java index 7b8f82441fd6..f516a4930a58 100644 --- a/services/core/java/com/android/server/biometrics/sensors/BiometricNotificationUtils.java +++ b/services/core/java/com/android/server/biometrics/sensors/BiometricNotificationUtils.java @@ -37,6 +37,7 @@ public class BiometricNotificationUtils { private static final String TAG = "BiometricNotificationUtils"; private static final String RE_ENROLL_NOTIFICATION_TAG = "FaceService"; private static final String BAD_CALIBRATION_NOTIFICATION_TAG = "FingerprintService"; + private static final String KEY_RE_ENROLL_FACE = "re_enroll_face_unlock"; private static final int NOTIFICATION_ID = 1; private static final long NOTIFICATION_INTERVAL_MS = 24 * 60 * 60 * 1000; private static long sLastAlertTime = 0; @@ -57,6 +58,7 @@ public class BiometricNotificationUtils { final Intent intent = new Intent("android.settings.FACE_SETTINGS"); intent.setPackage("com.android.settings"); + intent.putExtra(KEY_RE_ENROLL_FACE, true); final PendingIntent pendingIntent = PendingIntent.getActivityAsUser(context, 0 /* requestCode */, intent, PendingIntent.FLAG_IMMUTABLE /* flags */, |