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

Commit 6324fff9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Haptic feedback when ringer set to vibrate"

parents 2f711fec 636de751
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -409,6 +409,7 @@ public class VolumeDialogImpl implements VolumeDialog {
            final boolean hasVibrator = mController.hasVibrator();
            if (mState.ringerModeInternal == AudioManager.RINGER_MODE_NORMAL) {
                if (hasVibrator) {
                    mController.vibrate();
                    mController.setRingerMode(AudioManager.RINGER_MODE_VIBRATE, false);
                } else {
                    mController.setRingerMode(AudioManager.RINGER_MODE_SILENT, false);