From c27a9b025a69a973f42161049e5ef1cbc0d857f1 Mon Sep 17 00:00:00 2001 From: Beverly Date: Thu, 28 Apr 2022 18:11:23 +0000 Subject: [PATCH] Don't cancel vibrations in LockIconViewController This call was generically cancelling ALL vibrations, when the intention was just to cancel any vibrations from the lock icon. (And won't need to manually cancel the vibration from the lock icon since the vibration is short anyway.) Test: manual Fixes: 228936379 Change-Id: Id821843cd81f0ddd96b597922f08e2ad31d320e7 --- .../src/com/android/keyguard/LockIconViewController.java | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/keyguard/LockIconViewController.java b/packages/SystemUI/src/com/android/keyguard/LockIconViewController.java index 239730d189346..95cda8b9dfca3 100644 --- a/packages/SystemUI/src/com/android/keyguard/LockIconViewController.java +++ b/packages/SystemUI/src/com/android/keyguard/LockIconViewController.java @@ -668,7 +668,6 @@ public class LockIconViewController extends ViewController impleme mVelocityTracker.recycle(); mVelocityTracker = null; } - mVibrator.cancel(); } private boolean inLockIconArea(MotionEvent event) {