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

Commit 60ab353f authored by Michael Wright's avatar Michael Wright Committed by android-build-merger
Browse files

Merge "Don't vibrate on un-tuned devices when opening notification shade." into oc-mr1-dev

am: fbc5d5d7

Change-Id: Ib1f111b87878abe4c2fd4d800e950feb6a45d7be
parents dea1cbe0 fbc5d5d7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -404,8 +404,8 @@ public abstract class PanelView extends FrameLayout {
                false /* collapseWhenFinished */);
        notifyBarPanelExpansionChanged();
        if (mVibrateOnOpening && !isHapticFeedbackDisabled(mContext)) {
            AsyncTask.execute(
                    () -> mVibrator.vibrate(VibrationEffect.get(VibrationEffect.EFFECT_TICK)));
            AsyncTask.execute(() ->
                    mVibrator.vibrate(VibrationEffect.get(VibrationEffect.EFFECT_TICK, false)));
        }
    }