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

Commit 8f50b50d authored by Selim Cinek's avatar Selim Cinek
Browse files

Added haptic feedback for longpressing.

Test: manual, add notification, longpress, observe
Fixes: 62392747
Change-Id: I764bc159afd8b65c0467af8fe634584237b79629
parent c48e304b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -119,6 +119,7 @@ import android.util.Slog;
import android.util.SparseArray;
import android.util.SparseBooleanArray;
import android.view.Display;
import android.view.HapticFeedbackConstants;
import android.view.IWindowManager;
import android.view.KeyEvent;
import android.view.LayoutInflater;
@@ -6332,6 +6333,7 @@ public class StatusBar extends SystemUI implements DemoMode,
                if (row.isDark()) {
                    return false;
                }
                v.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS);
                if (row.areGutsExposed()) {
                    closeAndSaveGuts(false /* removeLeavebehind */, false /* force */,
                            true /* removeControls */, -1 /* x */, -1 /* y */,