Update to messaging-personal-avatar-left-side
[webos-internals:justyns-modifications.git] / music-player / music-player-advance-track-via-headset.patch
1
2 --- .orig/usr/palm/applications/com.palm.app.musicplayer/scripts/MediaKeyControlHandler.js
3 +++ /usr/palm/applications/com.palm.app.musicplayer/scripts/MediaKeyControlHandler.js
4 @@ -23,6 +23,9 @@
5                         
6                         case "next":
7                                 // start playing automatically when the song is switched
8 +                               this.serviceRequest = new Mojo.Service.Request("palm://com.palm.vibrate", {
9 +                                       method: 'vibrate', parameters: { 'period': 0,'duration': 750 }
10 +                               });
11                                 this.musicPlayer.setPlayingState(true);
12                         
13                                 this.musicPlayer.nextSong();