History log of /packages/apps/Mms/src/com/android/mms/model/SlideModel.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4ae926d268bb27d260b711a2a136c07441134178 20-Oct-2011 Tom Taylor <tomtaylor@google.com> Incoming slideshows with sound and video will crash!

Bug 5419450
While investigating 5419450, a bug with multiple sounds formats and
video formats, I sent them all to my phone via an email mms gateway.
On the phone's side, we tried to build a slideshow from the attachment.
The mms code doesn't allow a video and sound to be added to the same
slideshow. The UI enforces that. However, when we receive a slideshow
with mixed sounds and videos, the code would throw an exception. With
this change, the code will ignore parts that can't be handled.

Change-Id: I298ee1722afc46593c48a95ceb825ae9c15c41b3
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
40421e0b0316a4bf77e3e5f9a8b734ba6478f1c7 07-Oct-2011 Tom Taylor <tomtaylor@google.com> Slide duration not reset when all time-based objects removed

Bug 5426125
If we remove all the objects that have duration, reset the slide back to its
default duration. If we don't do this, if the user replaces a 10 sec video with
a 3 sec audio, the duration will remain at 10 sec.

Change-Id: I4283514643c344a76d9fa9e973665f16fec2ce8a
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
150c4179995cc0a75f934ef194372f9295957ca2 08-Apr-2011 Joe Onorato <joeo@google.com> Remove the deprecated things from Config.java. These havent been working since before 1.0.

Change-Id: I7b60931012a68116b516acc8af8a7a8fdeab97c3
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
4799c671cd7925c7d8098bc3a743c0e83701bb34 15-Dec-2010 Matthias Thomae <matthias.thomae@teleca.com> Corrected message size calculation when replacing resizable media

Replacing resizable media in Slideshow will yield in an incorrect
message size. An exception will be thrown when validating the size and
the application will crash. This change fixes this problem.
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
f7e8281a223af6228e6399055a6197a1edd9bc3a 09-Mar-2010 Tom Taylor <tomtaylor@google.com> Remove mms-common

Get rid of the mms-common library and move the mms files back into the
framework where they originally came from.

Change-Id: I8ce2b0a2a3cfc6b7da13ce0e791173c09dd8f0f5
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
3643ac18361ebb2c6194569ac7ee2f0927155f07 12-Feb-2010 Wei Huang <weih@google.com> resolved conflicts for merge of 5b783617 to master

Change-Id: I77c46fd688d67accb60194af334c8404222c6e5c
4ee7aa9aec45dd564c0e82928fa5a8378e856dcf 11-Feb-2010 Wei Huang <weih@google.com> bug #2434183: guard against ArrayIndexOutOfBoundEx when there is an empty slide show.

Change-Id: Iad96489e787d3e6cb9162ced4adbf164566bf421
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
fd644551e8506266aad2b76463b51b44154ed62f 29-Jan-2010 Tom Taylor <tomtaylor@google.com> Update refs now that MMS is removed

Move MMS to mms-common library. Update imports.

Change-Id: I28fa24a68c27977eba58cb62f2667596d3abe2c4
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
7c8748972faf3078f53ef9ecbe6c95f0903f43f7 28-Jan-2010 satok <satok@google.com> Enable to parse Html MMS

BUG: 2373437

- Enabled multipart.aplternative
- Enabled to manage "text/html"
- Added parser for converting html mail to TextView
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
10eed0e3020e3eb0612747fe39e0f6117222dd95 09-Dec-2009 Tom Taylor <tomtaylor@google.com> Resize pictures at send time

Before this change, picture attachments would get resized as they
were added to a message. This means the first picture could take up
to the whole message space, the second picture any remaining space, etc.
With this change, pictures aren't resized until after the user hits
send. The remaining space in a message is divided equally among all
the picture attachments and they're resized to fit within that space.
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
d130e2e6dc448fd80ecb70f0d31e3affb9888b9a 16-Sep-2009 Wei Huang <weih@google.com> fix bug 2112925: don't display zip file garbage content in MMS.

- if the content type of the attachment isn't "text/plain", don't try to display it as text.

Change-Id: Id3dd82afaee848019600497fb52db98c8eb14bd3
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
9242286c35743422051d439d7460cd0a1426899c 16-Sep-2009 Wei Huang <weih@google.com> add more logging in MMS. Try to catch an OOM error, and dump hprof data when it occurs.
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
7fa61cafe50deb74beb0819bdf52128239d50201 26-Aug-2009 Wei Huang <weih@google.com> pause music player when playing audio in MMS slideshow, and resume when MMS audio is stopped.

- more logging reorg.

- call

Intent i = new Intent(MUSIC_SERVICE_ACTION);
i.putExtra("command", "pause");
mContext.sendBroadcast(i);

to pause music player, and

Intent i = new Intent(MUSIC_SERVICE_ACTION);
i.putExtra("command", "togglepause");
mContext.sendBroadcast(i);

to resume.

Change-Id: I917310fe1e4f127e608f2acdb2c7976290746188
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
72735c62aba8fd2a9420a0f9f83d22543e3c164f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
892f2c5bf965b1431ae107b602444a93f4aad4a3 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java
8eed706474910ccb978acda03e85d3261037da6e 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Mms/src/com/android/mms/model/SlideModel.java