Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a7966c7 authored by Alexey Kuzmin's avatar Alexey Kuzmin Committed by android-build-merger
Browse files

Merge "Revert "Change attribute of fingerprint vibrations"" into qt-dev

am: c0ef6a71

Change-Id: I811e528c32ac222e92363c081a36a7644b067f52
parents e178e460 c0ef6a71
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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;