From abff2b4952a1dd7df155bb121715dd79a7c892ff Mon Sep 17 00:00:00 2001 From: Alexey Kuzmin Date: Tue, 4 Jun 2019 16:49:14 +0100 Subject: [PATCH] Revert "Change attribute of fingerprint vibrations" This reverts commit 8a44bc9508c4351d2ac9d4a418e6bc075480a58d. Bug: 123870990 Test: no changes Change-Id: I725e83f2ecb3f3be5048cbb7580a4a26d5eeb9d5 --- .../java/com/android/server/biometrics/ClientMonitor.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/services/core/java/com/android/server/biometrics/ClientMonitor.java b/services/core/java/com/android/server/biometrics/ClientMonitor.java index 421b3f5ae1066..942e0501d88d5 100644 --- a/services/core/java/com/android/server/biometrics/ClientMonitor.java +++ b/services/core/java/com/android/server/biometrics/ClientMonitor.java @@ -42,12 +42,7 @@ public abstract class ClientMonitor extends LoggableMonitor implements IBinder.D private static final AudioAttributes FINGERPRINT_SONFICATION_ATTRIBUTES = new AudioAttributes.Builder() .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION) - // Temporary fix for b/123870990. No time in this release to - // introduce a new vibration type, but we need to distinguish these vibrations - // from other haptic feedback vibrations. Fortunately, Alarm vibrations have - // exactly the same behavior as we need - // TODO: refactor within the scope of b/132170758 - .setUsage(AudioAttributes.USAGE_ALARM) + .setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION) .build(); private final Context mContext;