Fixed pandora-headset-vibrate.patch
[webos-internals:jeffrotulls-modifications.git] / pandora / pandora-headset-advance-vibrate.patch
1 --- .orig/var/usr/palm/applications/com.palm.pandora/app/core/device_service.js
2 +++ /var/usr/palm/applications/com.palm.pandora/app/core/device_service.js
3 @@ -121,6 +121,9 @@
4                 Util.log("media event: " + event.key);
5                 switch (event.key) {
6                         case "next":
7 +                               this.serviceRequest = new Mojo.Service.Request("palm://com.palm.vibrate", {
8 +                                       method: 'vibrate', parameters: { 'period': 0,'duration': 750 }
9 +                               });
10                                 AppGlobals.station.skip();
11                                 break;