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

Commit 9f950319 authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

Merge "Added haptic feedback for longpressing." into oc-dr1-dev

am: 8a3ccb11

Change-Id: I96f82f041b28fd6eede36c6126c66286f8f4f1e3
parents 946af382 8a3ccb11
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;
@@ -6347,6 +6348,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 */,