Commit 1d33c53e09b70b4106011bbb531b6cd8d86b2f0c

  • avatar
  • Daniel Beames <dbeames @beames…ptop.(none)>
  • Sun Nov 01 04:47:44 CET 2009
Forgot one more in last commit.
  
1Copyright (c) 2009 jhoff80
2
3Permission is hereby granted, free of charge, to any person
4obtaining a copy of this software and associated documentation
5files (the "Software"), to deal in the Software without
6restriction, including without limitation the rights to use,
7copy, modify, merge, publish, distribute, sublicense, and/or sell
8copies of the Software, and to permit persons to whom the
9Software is furnished to do so, subject to the following
10conditions:
11
12The above copyright notice and this permission notice shall be
13included in all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22OTHER DEALINGS IN THE SOFTWARE.
  
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;
12
13\ No newline at end of file