8 new, 2 modified patches.
[webos-internals:djcin7s-modifications.git] / messaging / messaging-sms-vibrate-to-one-second.patch
1 --- .orig/usr/palm/applications/com.palm.app.messaging/app/controllers/notification-assistant.js
2 +++ /usr/palm/applications/com.palm.app.messaging/app/controllers/notification-assistant.js
3 @@ -157,6 +157,10 @@
4         
5         if (Object.keys(notificationData).length > 0 && this.Messaging.messagingPrefs.enableNotification) {
6                 var notificationType = notificationData.notificationType;
7 +               this.serviceRequest = new Mojo.Service.Request                                  
8 +               ("palm://com.palm.vibrate", {
9 +               method: 'vibrate', parameters: { 'period': 0,'duration': 1000 }
10 +               });
11                 if (notificationType == this.Messaging.notificationTypes.newMessage) {
12                         // if the new message is an MMS, retrieve the part data
13                         if (notificationData.messageType == "MMS") {