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

Commit 0635b892 authored by John Spurlock's avatar John Spurlock
Browse files

Volume: restore vibration entering vibrate-mode from rocker.

Bug:16418732
Change-Id: I0db18a0ff21cfa1af7005ab9620340d34c2eb63b
parent 6b067c34
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1704,7 +1704,8 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
                    mMediaController.adjustVolume(direction, AudioManager.FLAG_SHOW_UI);
                } else {
                    MediaSessionLegacyHelper.getHelper(getContext()).sendAdjustVolumeBy(
                            mVolumeControlStreamType, direction, AudioManager.FLAG_SHOW_UI);
                            mVolumeControlStreamType, direction,
                            AudioManager.FLAG_SHOW_UI | AudioManager.FLAG_VIBRATE);
                }
                return true;
            }