Volume: haptic feedback entering vibrate using touch.
Bug:15386667 Change-Id: Ia575c171f59f435afe669c2b7fd9c22155865b20
This commit is contained in:
@@ -1225,7 +1225,8 @@ public class VolumePanel extends Handler {
|
||||
final Object tag = seekBar.getTag();
|
||||
if (fromUser && tag instanceof StreamControl) {
|
||||
StreamControl sc = (StreamControl) tag;
|
||||
setStreamVolume(sc, progress, 0);
|
||||
setStreamVolume(sc, progress,
|
||||
AudioManager.FLAG_SHOW_UI | AudioManager.FLAG_VIBRATE);
|
||||
}
|
||||
resetTimeout();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user