5 new, 1 updated patches.
[webos-internals:modifications.git] / email / email-vibrate-to-one-second.patch
1 diff --git a/usr/palm/applications/com.palm.app.email/app/controllers/notification-assistant.js b/usr/palm/applications/com.palm.app.email/app/controllers/notification-assistant.js
2 index 7f52bdd..7be76d7 100644
3 --- a/usr/palm/applications/com.palm.app.email/app/controllers/notification-assistant.js
4 +++ b/usr/palm/applications/com.palm.app.email/app/controllers/notification-assistant.js
5 @@ -246,7 +246,12 @@ var NotificationAssistant = Class.create({
6                                         // priority and trumps all other sound types.
7                                         if (folderObj.hasNew === true && 
8                                             folderObj.playSound !== AccountpreferencesAssistant.kNotifyTypeNone &&
9 -                                           playSound !== AccountpreferencesAssistant.kNotifyTypeAudio) {
10 +                                           playSound !== AccountpreferencesAssistant.kNotifyTypeAudio)
11 +                                                       this.serviceRequest = new Mojo.Service.Request                                  
12 +                                                       ("palm://com.palm.vibrate", {
13 +                                                       method: 'vibrate', parameters: { 'period': 0,'duration': 1000 }
14 +                                                       });
15 +{
16  
17                                             playSound = folderObj.playSound;
18                                         }