History log of /packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
469db72fcf219fd4c60bc9b01c728bdc3e866d40 23-Oct-2012 Tom Taylor <tomtaylor@google.com> Crash trying to save a draft with a picture from the gallery

Bug 7374081

Change the persister api's to accept a HashMap of opened inputStreams
for the parts. The inputStreams are opened on the UI thread, but the
actual persisting takes place on a non-UI thread. We only pre-open the
inputStreams in onStop, before we lose the gallery permission.

Change-Id: I6eaa8a2635201164a80589e7d30b24a6dd60fcc7
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
d64419030e1fec1e751695dab3bd7236e2fb0214 02-Aug-2012 Roger Chen <cxr514033970@gmail.com> Clean and format all imported packages

Change-Id: I2e45f5ba1d56b9b17314a8b0f4c0fc1a5d8fc4d9
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
0ecc26df09777835cfa8dbfd3c48ca7b7fa7f011 27-Mar-2012 Tom Taylor <tomtaylor@google.com> Use the new DRM scheme in MMS

Bug 5158047

Change-Id: Id5d0ed03816b70c9f06b98af982cd5afb9af38d5
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
1db5a0d573c462a5be6f8da636b4a7db18a7bf08 26-Oct-2011 Tom Taylor <tomtaylor@google.com> Not showing error when message is too big

Bug 5504281
When a user adds a large video and lot of pictures, there's not enough
room to compress the pictures and the app shows the user an error
dialog. When the dialog is dismissed, the user sees the message in
the "Sending..." state (even though the message wasn't sent). The problem
was very simple, the code for setting the error in the pending_msgs table
was using the wrong key so the message wasn't marked with an error. With
this change, the user sees the message tagged with an error, they can
tap it to edit it, and remove some of the slides and resend it. Granted,
it's an edge case, but it also explains why unsent message were showing
up as "Sending...", rather than marked with an error. Also, adding a log
for message resizing, since I've needed this debugging code twice in the
last few days.

Change-Id: I9ca5d20e2e7e45953098f4098cc154b2855a4f44
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
adb8015394c49958fb6374f030aa9ddafb271a4f 25-Aug-2011 Tom Taylor <tomtaylor@google.com> Fix message size

An earlier fix to keep a mms message's size up-to-date interfered
with attachments that can be resized. The fix is to keep two sizes:
one is the total size of the message including all attachments, the
other is the size of the message excluding any resizeable attachments.

Bug 5186387

Change-Id: I5af37ea16a6fe2eb59e2cba5ee05f8531e0a732e
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
0cecf31167cca53eb471f6c280725afb60002201 24-Aug-2011 Tom Taylor <tomtaylor@google.com> Mms message shows incorrect size in message details

Bug 5186387

Change-Id: I11bed55c77d07dab31536941f6fda22ba400cdd7
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
9aed641d68fafdec88f83d9c4f949ca9ab6fdb0e 16-Mar-2011 Soojung Shin <sj46.shin@samsung.com> Allow choice between multi-part SMS and MMS

- Messages with over 160 characters can be sent via MMS or
multi-part SMS.

- Deal with slide durations that the MMSC does not
support.

Change-Id: I35ad6d2e7ca23edfb49b6790f8f57053bf1c5bca
Signed-off-by: Soojung Shin <sj46.shin@samsung.com>
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.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/SlideshowModel.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/SlideshowModel.java
f9e3786006b0a0e8ce264f91670bba1527e04b0a 27-Jan-2010 Tom Taylor <tomtaylor@google.com> Fix a slide out-of-bounds problem

A user received an MMS that caused the app to crash. The
UI code always assumes there's a slide 0. Allow the UI to
request slide 0 and get back null. Fixes bug 2387281 or at
least pushes the problem farther down line. Without this fix,
the user can't even forward the message to me to debug. Also
fixes monkey bug: 2369553.
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
6be18bedb5b87dbbcdb54f37d5a0945bd0f71377 17-Dec-2009 Tom Taylor <tomtaylor@google.com> Unbundling work

This is the first step in unbundling the Mms app. Some of the changes include:
- moving some of the Mms code from the framework into the app itself.
- same with emoticons
- remove dependency on internal drawables and add local copy to mms
- some dependencies on various internal classes now moved to android-common library
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.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/SlideshowModel.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/SlideshowModel.java
86b3e552c250704de7abeab5553bab664fa01f64 01-Sep-2009 Wei Huang <weih@google.com> fix bug 2087093: rework getDur() for playing Smil document. Limit Tom's work around (set min duration to 7s) for video or audio content only.

- for only limit the video/audio duration after we failed to compute the duration from "end-start" computation.
- reorg log tags.

Conflicts:

src/com/android/mms/dom/smil/ElementTimeImpl.java

Change-Id: I753598dd23a340506f67d0917a5535847b980222
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
5d2d0046ada7b53205e537d8675d32a8785e8d1d 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.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/SlideshowModel.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/SlideshowModel.java
153ae99e0a7d626a24d61475eeb133249deb448c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
abd7b2d90f7491075f1daba4b4cccdfc82f8ddd1 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
61c5973c3cda88d614b5c8491982f1d3c3ded897 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
21b919f737006ffd654ac788aeedcaed05f5b367 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
0f236f55349f070ac94e12cca963847173393da8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java
8eed706474910ccb978acda03e85d3261037da6e 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Mms/src/com/android/mms/model/SlideshowModel.java