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

Commit fec9ab86 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."...

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

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