History log of /packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.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/ui/SlideEditorActivity.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/ui/SlideEditorActivity.java
b8eae066a7ba60722de07300bf990d519f5c81d8 13-Apr-2012 Tom Taylor <tomtaylor@google.com> Wrong image shown in MMS preview

Bug 6104869

A static uri is used for capturing images from the camera. The code needs
to remove the thumbnail from the cache when capturing a new image or video.
In addition, the code needs to make sure it doesn't save thumbnails for
temp files in the on-disk thumbnail cache.

Change-Id: I646368d0f83fb7d6b204b611982a04275d4cd8bc
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
7616b16b95cc2d2c694cf199851a55ce8391b94e 11-Apr-2012 Tom Taylor <tomtaylor@google.com> NPE when previewing a slide in the slide editor

Bug 6319889

Change-Id: Icb0738b267557658bf278a3f8f5c75f7bc0176a8
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
661957caeb3110ae3328a995edd467ceedc07a36 05-Apr-2012 Tom Taylor <tomtaylor@google.com> ANR on the Messaging application, when editing the attachment

Bug 5973755

When slideshows are involved, there's the possibility of an ANR because
the slideshow is saved on the UI thread. With this change, the heavy-duty-
disk-writing work is done in a background thread. If the task takes longer
than a half second, a modal progress dialog is displayed. The various
target activities, such as SlideEditorActivity and SlideshowEditActivity,
still read/save the PDU on the UI thread. They should use the PduLoaderManager.
A separate bug has been filed.

Change-Id: I384968d406fe10e192abf1614e3ce0b27f20c93d
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
51e4621fa12400b1e79cc18b7bb0f9a83af6b622 27-Feb-2012 Tom Taylor <tomtaylor@google.com> Scroll jank when scrolling MMS images

Bug 5919625

Load PDU, slideshow, and images in the background.

Change-Id: I456ba8e0044a902af7310427f3172441f40cf215
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
1450f3f35f29fbf8b2701dc8e8bceda326fbfced 01-Nov-2011 Tom Taylor <tomtaylor@google.com> Crash after capturing photo for attachment

Bug 5546073
If the Mms app was killed or died while taking a picture, the call to
MmsApp.getApplication() would return null and the provider would crash.
With this change, use the context of the provider or the activity,
rather than the app's context.

Change-Id: I787ea375fefa0d94ee2c04bc023c7b115c12d70a
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
21258595d6e3cb6fa7aade7a21eb3b2e48cf7d73 05-Oct-2011 Todor Kalaydjiev <todor@google.com> Merge "Don't crash when SlideEditorActivity is started with an empty slideshow"
2fddde28ed2ccb3c156d596160e3a504c83ce444 05-Oct-2011 Tom Taylor <tomtaylor@google.com> Video captured from Messaging app is left in Gallery

Bug 1659270. Bug 5410499.
Instead of capturing a video and leaving the temp video in the gallery,
pass the camera a uri to store the video data. Also fix a bug where
captured pictures weren't getting their temp files renamed to a name
that included their slide number.

Change-Id: I83c0edc506d384f789a7a9ca98bf3ad5f50b361f
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
e028faa922b4bf0eaf3834cb450677fcd3549cb5 05-Oct-2011 Todor Kalaydjiev <todor@google.com> Don't crash when SlideEditorActivity is started with an empty slideshow

b/5235929 from monkey tests. I don't have human repro steps.

Change-Id: I05088e7697ff1f2920ff3789140170eb92a07f7d
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
9aeb4e9e6aebe9d99cf817cedbdeb0bb0ae5a024 29-Sep-2011 Mark Wagner <mxw@google.com> bugfix 5381702 MMS app puts temporary files on sdcard in wrong location

Part B of a two part checkin to fix this to use the system provided location
for temp/cache files.

Change-Id: I03764c25d5d1f8bbdc1b30ef5168128922bf0792
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
867b50f32a3035ac38178eebd827f0c8012781c2 24-Sep-2011 Tom Taylor <tomtaylor@google.com> Slide editor is missing "Capture video" option

Bug 5366755

Change-Id: I4817b8f76178deb0c8215e68a1345c081de15061
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
02277c6b787e8e29ee22b1df745eb8549d3ff023 17-Sep-2011 Tom Taylor <tomtaylor@google.com> Don't allow non-local videos to be attached

Bug 5319344

Change-Id: If440de4a67860a656e37fa62a2a8b6899adae77d
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
b0664c5822ee07642617a73c932b02a2636a2223 15-Sep-2011 Tom Taylor <tomtaylor@google.com> Handset resizes image to a small size

Capturing pictures in a slideshow is different than capturing in
ComposeMessageActivity. We need to pass a temp file uri to the camera
to store the image, otherwise the camera will return a thumbnail size
image. Keep a temp file for each slide. Bug 5249464

Change-Id: Ic6987781fe4a318c00b89f76c1b3e8722ed855c6
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
e11f7ebf8ec01d7af063781d5bf9ab9ff92f8b7e 11-Apr-2011 Soojung Shin <sj46.shin@samsung.com> am 0b3d94dd: am 99ffe3fc: am 5751c241: Allow the SMS message length to be set via mms_config.xml

* commit '0b3d94dd0347414f65416c692046ef643c227c0e':
Allow the SMS message length to be set via mms_config.xml
0b3d94dd0347414f65416c692046ef643c227c0e 11-Apr-2011 Soojung Shin <sj46.shin@samsung.com> am 99ffe3fc: am 5751c241: Allow the SMS message length to be set via mms_config.xml

* commit '99ffe3fc4f486c3249376f943cc2dd3d3fb6873e':
Allow the SMS message length to be set via mms_config.xml
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/ui/SlideEditorActivity.java
5751c241c4a9cb19668788e2ae83ca6e8287375c 31-Mar-2011 Soojung Shin <sj46.shin@samsung.com> Allow the SMS message length to be set via mms_config.xml

Change-Id: I8941fcc9f352805635c638aa2e2bae513b71db8f
Signed-off-by: Soojung Shin <sj46.shin@samsung.com>
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
61f7564d146f338dbcc05340a6800446f892b121 11-Oct-2010 Tom Taylor <tomtaylor@google.com> am 68b0fa23: am 5408cfe5: Merge "Call dialog.dismiss()" into gingerbread

Merge commit '68b0fa23f7ecd5e4d8775d8cb2d5e7bb9bba17cf'

* commit '68b0fa23f7ecd5e4d8775d8cb2d5e7bb9bba17cf':
Call dialog.dismiss()
c4a34a0ccd414e2bba937e8abd105a0383afff35 09-Oct-2010 Tom Taylor <tomtaylor@google.com> Call dialog.dismiss()

In many of the click handlers, we neglected to dismiss the dialog.
Bug 3072307

Change-Id: Ie461492394c9f29ce2a7bb6e7f00a93068ea2bf8
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
15057746d75afb5fec583f30064b382c18403608 21-Apr-2010 Tom Taylor <tomtaylor@google.com> Specify sound recording limit

When recording a sound for a MMS attachment, specify a limit so the
user can't record a message that would exceed the MMS max size.
Bug 1339600

Change-Id: Idb882aaf379fed45170eb24e14d779bbd42c76c6
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.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/ui/SlideEditorActivity.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/ui/SlideEditorActivity.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/ui/SlideEditorActivity.java
3451cbcbfb5a26dba9b6713e07ba9e279f90c7de 23-Dec-2009 Tom Taylor <tomtaylor@google.com> resolved conflicts for merge of 64c734ff to master
7bf703913dfb4c253b645279d69b7c6d25634880 18-Dec-2009 Tom Taylor <tomtaylor@google.com> Fix a monkey crasher

The monkey can delete a slide and still popup a menu. Protect with
isFinishing.

Change-Id: Idf853df23c38095203d2d50de9b52be1e96abfd7
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
b79df272305c0c27954b7bd44de0e5df97e3e639 18-Dec-2009 Tom Taylor <tomtaylor@google.com> Fix IndexOutOfBoundsException bug

The monkey discovered a bug where alternately typing into a slide and
immediately tapping the "Remove slide" button causes a crash as the
code responds to "afterTextChanged". Now if the activity is in the finishing
state, we don't bother dealing with the changed text.
Fixes bug 2336463.

Change-Id: Ic21e3daf8dd8cf936f0f0edb1e11763fabd1a0f4
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.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/ui/SlideEditorActivity.java
47471dad88703d5befcbf65abd9e0cf28872bcb3 07-Oct-2009 Tom Taylor <tomtaylor@google.com> Don't allow attach audio

If MmsConfig doesn't allow attaching a ringtone to a Mms message,
hide the menu item. Fixes bug 2171112.

Change-Id: I863c5a3b5761dc5588c48c77aef76f9bb984287b
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
d9e91d95f4c8ed00d881e41b6af9783bec61cfc8 10-Sep-2009 Satish Roddom <satishroddom@motorola.com> Force-close when adding picture to a slide having video

Issue: Add video to a slide. There is a button 'Add picture'. Click it, and select a picture.
Messaging force closes.

Rootcause: It is obvious that a slide cannot have a video as well as picture. When doing so,
the function internalAdd() gets executed and throws IllegalStateException, which is not caught
anywhere.

Fix: When a slide has a video already, and user clicks 'Add picture', show him toast saying
'video and picture cannot added to one slide' and return.

Bug: 2111946
Change-Id: Iad57c2f664569bbf20db00c477d1e8f0b22664f9
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
f79b803adc0cee3778cf6aac52d203896cde5d95 04-Sep-2009 Christian Gustafsson <christian.gustafsson@motorola.com> Resize images when they exceed the MMS payload size

Code was in place to resize images when they exceeded the maximum
MMS dimensions. But the case where the byte size of an image was exceeding the
MMS payload just resulted in an error message to the user. This is a problem
with high resolution images taken by the devices camera. These images fit the
MMS dimensions but routinely exceed the MMS byte size.

Extra fix for GIF images. The GIF decoder does not honor the scaled decode
parameter. Code now calls the Bitmap scale function when this happens.

1. Change the getResizedImageData function in UriImage.java to account for
byte size as well. If the resulting jpg exceeds the byte size attempt to
reduce the quality on the compressor first. But not below 50%. Should
this step not work then rescale the image to a lower resolution and try
again. Do this up to 4 times.
2. Change resizeImageAsync in MessageUtil.java to pass a maximum bytes size.
Account for a MMS overhead of 5000 bytes in this case. So the maximum
image size will be msConfig.getMaxMessageSize() ? 5000.
3. Update 3 places to call resizeImageAsync instead of showing an error
message to the user.

Change-Id: I33427fe79c42677e24acf0390ae834d58205c8f1
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
6bf6dd8f9327299fd4a829fb7844568f96dd5278 20-Aug-2009 Tom Taylor <tomtaylor@google.com> Fix slideshow layout

The actions for the layout menu actions were reversed.
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
edd39351defc331fc268a6ed88338f64fe6f17cf 12-Aug-2009 Tom Taylor <tomtaylor@google.com> Support multiple send intent

Allow a user to send multiple pictures/videos in an mms message. Each
gets added as its own slide.
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
b9bcfdd226bbb6f5b265f925343375192963d58a 11-Apr-2009 Ficus Kirkpatrick <ficus@android.com> Move in-progress message state out of ComposeMessageActivity and into its own class.
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
4522cafe21816d43626b8ac42e1c5d3667212a97 25-Mar-2009 Ye Wen <> Automated import from //branches/master/...@142740,142740
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
2f56791329cefc49ce79663b8d3aff50594cc1f3 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.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/ui/SlideEditorActivity.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/ui/SlideEditorActivity.java
44cea74dc55e2459262d0d765ef4a69267dd09b0 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java
1a4b3a26659d034b9df52fc6a0e184cffe7451ae 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.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/ui/SlideEditorActivity.java
8eed706474910ccb978acda03e85d3261037da6e 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Mms/src/com/android/mms/ui/SlideEditorActivity.java