commit | 0c3a9982082f86ac6cd92b66a8792461fcd2fdef | [log] [tgz] |
---|---|---|
author | Kevin Chyn <kchyn@google.com> | Tue Jun 11 19:09:27 2019 -0700 |
committer | Kevin Chyn <kchyn@google.com> | Wed Jun 12 10:52:53 2019 -0700 |
tree | 7d35039b4b5f377de67db99b7e9253f788636432 | |
parent | 97d0a5b5b5b29bebd0264a51071cdd5757cd50ae [diff] |
Make recalibration notification VISIBILITY_SECRET See context of b/134834442 Test: Notification is only seen when device is unlocked Fixes: 134834442 Change-Id: I977c23192b41d2a0484d03d25eee4db87ac68ba2
diff --git a/services/core/java/com/android/server/biometrics/face/FaceService.java b/services/core/java/com/android/server/biometrics/face/FaceService.java index edb36d3..0f2b16a 100644 --- a/services/core/java/com/android/server/biometrics/face/FaceService.java +++ b/services/core/java/com/android/server/biometrics/face/FaceService.java
@@ -193,6 +193,7 @@ .setAutoCancel(true) .setCategory(Notification.CATEGORY_SYSTEM) .setContentIntent(pendingIntent) + .setVisibility(Notification.VISIBILITY_SECRET) .build(); nm.createNotificationChannel(channel);