diff options
author | John Spurlock <jspurlock@google.com> | 2014-07-19 17:52:35 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-07-19 17:52:35 -0400 |
commit | 0635b8927e1e77e34916437f4e5b67cff4e25b2a (patch) | |
tree | 3cdc88de0159b2bbcb3ef184a617964868cb24f2 /policy | |
parent | 6b067c34027c71f85d393c1d84a8353a9b87f0ba (diff) | |
download | frameworks_base-0635b8927e1e77e34916437f4e5b67cff4e25b2a.zip frameworks_base-0635b8927e1e77e34916437f4e5b67cff4e25b2a.tar.gz frameworks_base-0635b8927e1e77e34916437f4e5b67cff4e25b2a.tar.bz2 |
Volume: restore vibration entering vibrate-mode from rocker.
Bug:16418732
Change-Id: I0db18a0ff21cfa1af7005ab9620340d34c2eb63b
Diffstat (limited to 'policy')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindow.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java index 1e61236..e3c2203 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java @@ -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; } |