phone-disable-various-phone-sounds update for 1.3.1
[webos-internals:modifications.git] / phone / phone-disable-various-phone-sounds.patch
1 Name: Disable Various Phone Sounds
2 Version: 3
3 Description: disable end call, dropped call, missed call, ignored call sounds. The missed call will appear as a notifification. Updated to disable dropped call sound.
4
5 --- .orig/usr/palm/applications/com.palm.app.phone/app/controllers/announcer-assistant.js
6 +++ /usr/palm/applications/com.palm.app.phone/app/controllers/announcer-assistant.js
7 @@ -322,7 +322,7 @@
8                                         "height": height, 
9                                 }, 
10                                 this.onAnnounceMissedCreated.bind(this, name, number, picture, contact, Messages.missedMessage, timeStamp),
11 -                               'popupalert');
12 +                               'dashboard');
13                 }
14  
15         },
16 @@ -439,7 +439,7 @@
17                 this.appControl.showBanner(
18                         {
19                                 "messageText": message,
20 -                               "soundClass": 'notifications'
21 +                               "soundClass": ''
22                         }, 
23                         
24                         {
25 @@ -792,7 +792,7 @@
26                                         applicationStylesheets: ["stylesheets/phone.css"],
27                                         name: stageName, 
28                                         "height": height, 
29 -                                       soundclass: "alerts"
30 +                                       soundclass: "none"
31                                 }, 
32                                 this.onAnnounceDisconnectAbnormalCreated.bind(this, name, callState.number, label, picture, message, callerDetails),
33                                 'popupalert');
34 @@ -864,7 +864,7 @@
35                 this.appControl.showBanner(
36                         {
37                                 messageText: message,
38 -                               soundClass: 'notifications'
39 +                               soundClass: ''
40                         }, 
41                         {
42                                 prefill: callbackNumber