2 New, 4 Updated patches.
[webos-internals:jeffrotulls-modifications.git] / messaging / messaging-audio-video-attachments.patch
1 diff --git a/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js b/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
2 index 84e13e3..c825fc3 100644
3 --- a/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
4 +++ b/usr/palm/applications/com.palm.app.messaging/app/controllers/chatview-assistant.js
5 @@ -2585,7 +2585,7 @@ var ChatviewAssistant = Class.create({
6                 Mojo.Log.info("++++++ maxMessageAttachmentSize " + this.Messaging.carrierSettings.mmscMessageSizeLimit);
7                 var params = {
8                         actionType: 'attach',
9 -                       kinds: ['image','video'], // TODO: integrate other media types
10 +                       kinds: ['image','audio','video'], // TODO: integrate other media types
11                         defaultKind: 'image',
12                         maxVideoSize: this.Messaging.carrierSettings.mmscMessageSizeLimit,
13                         tempVideoFilePath: '/media/internal/.attachments/mms/mmsVideo2',
14 diff --git a/usr/palm/applications/com.palm.app.messaging/app/controllers/compose-assistant.js b/usr/palm/applications/com.palm.app.messaging/app/controllers/compose-assistant.js
15 index 8f9b17e..6eb3f14 100644
16 --- a/usr/palm/applications/com.palm.app.messaging/app/controllers/compose-assistant.js
17 +++ b/usr/palm/applications/com.palm.app.messaging/app/controllers/compose-assistant.js
18 @@ -350,7 +350,7 @@ var ComposeAssistant = Class.create({
19      Mojo.Log.info("++++++ maxMessageAttachmentSize " + this.Messaging.carrierSettings.mmscMessageSizeLimit);
20      var params = {
21                 actionType: 'attach',
22 -        kinds: ['image','video'], // TODO: integrate other media types
23 +        kinds: ['image','audio','video'], // TODO: integrate other media types
24          defaultKind: 'image',
25                 maxVideoSize: this.Messaging.carrierSettings.mmscMessageSizeLimit,
26                 tempVideoFilePath: '/media/internal/.attachments/mms/mmsVideo1',