new and updated
[webos-internals:modifications.git] / phone / phone-disable-various-phone-sounds.patch
1 diff --git a/usr/palm/applications/com.palm.app.phone/app/controllers/announcer-assistant.js b/usr/palm/applications/com.palm.app.phone/app/controllers/announcer-assistant.js
2 index d7df1b5..3025954 100644
3 --- a/usr/palm/applications/com.palm.app.phone/app/controllers/announcer-assistant.js
4 +++ b/usr/palm/applications/com.palm.app.phone/app/controllers/announcer-assistant.js
5 @@ -412,7 +412,7 @@ var AnnouncerAssistant = Class.create({
6                 this.appControl.showBanner(
7                         {
8                                 "messageText": message,
9 -                               "soundClass": 'notifications'
10 +                               "soundClass": ''
11                         },
12                         launchArgs
13                 );
14 @@ -711,7 +711,7 @@ var AnnouncerAssistant = Class.create({
15                                                 lightweight: true,
16                                                 name: stageName,
17                                                 height: DroppedcallAssistant.getPopupHeight(contact),
18 -                                               soundclass: "alerts"
19 +                                               soundclass: "none"
20                                         },
21                                         function(stagecontroller) {
22                                                 stagecontroller.pushScene("droppedcall", message, contact);
23 @@ -759,7 +759,7 @@ var AnnouncerAssistant = Class.create({
24                 this.appControl.showBanner(
25                         {
26                                 messageText: message,
27 -                               soundClass: 'notifications'
28 +                               soundClass: ''
29                         },
30                         {
31                                 prefill: contact.addr // todo need to pass a full contact to prefill