History log of /packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9c9df2773645d195dbf17df91d7cccdf5154fe84 04-Oct-2012 Tom Taylor <tomtaylor@google.com> MMS not displaying image or text after sending

Bug 7276966

When a pdu or image is canceled during loading, remove the pdu/slideshow
or image from the cache so it's fully reloaded the next time the uri is
requested.

Change-Id: I0f898821cfc1ad75115f298394a4f2497c3e4706
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
3c307cabb5bd96ed174930ebf17f533bf2a79de7 15-Sep-2012 Tom Taylor <tomtaylor@google.com> Group MMS showing subject for every single message

Bug 7112646

Don't show "<Subject: no subject>" for mms messages where the subject
is "no subject"

Change-Id: I9b4c71ede607699273dbee2b791a879c96d0c993
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
4847b98115373613b09cf50f43a760e95dd9a15c 07-Sep-2012 Tom Taylor <tomtaylor@google.com> Group MMS flickers between white square and received message when initially checking

Bug 7113015

Add a new column in the pdu that keeps track of whether a message is
text-only. The UI can use that flag to decide whether to show the attachment
box or not.

Change-Id: I70adf1a36d99ba5710c559651188f68e7f412ea3
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
c1f03822994dc09939060c41e0ce9cb37175b054 29-Aug-2012 Tom Taylor <tomtaylor@google.com> Implement group mms

Bug 6282172

When multiple recipients are added on a new conversation, the message is
automatically turned into an mms. This is the default, but add an mms_config.xml
option to turn that feature off. In a group mms message list, show the
sender's name on the line with the timestamp.

Change-Id: I8be4c325023bcbaf2498b8c9d8346a2a94ef63ef
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
8aee2389b3feb40b4abf3110c2f74be30dd0256e 24-Aug-2012 Roger Chen <cxr514033970@gmail.com> Initialize Timestamp to "" instead of NULL

The expired time shows NULL before PduLoadedMessageItemCallback
was executed.

It sometimes canbe reproduced in the expired time of Notification
IND.

Change-Id: Idac021d23e0807f61a5bcead8af1b369398dff26
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
e5486018e640aa2c36f68f56d19682a8fd614291 05-Jun-2012 Tom Taylor <tomtaylor@google.com> Wrong image shown in MMS preview

Bug 6104869

The change looks bigger than it is because of moving a function to WorkingMessage
where it's more general. Remove a message's thumbnails from the cache when
the attachment is removed or replaced.

Change-Id: Ib396029bec41884aa06f70a15c028e2d8ff08a0c
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
7b6fe946f2e1020432e3600c8863f72449cd4e68 16-May-2012 Tom Taylor <tomtaylor@google.com> Old thumbnail shown

Bug 6490001

DO NOT MERGE
hen a message is deleted, remove the uri from the pdu cache and clear the
thumbnail cache. When a thread is deleted, clear both the pdu and thumbnail
caches.

Change-Id: I361d48fe5430cbf9885656e2fe91ee2f566a25b9
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.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/ui/MessageItem.java
a46c89868eb1cd1ec9d0b3c248c83cfab21c8203 12-Mar-2012 Tom Taylor <tomtaylor@google.com> Scrolling through a Compose Message Activity message thread is not 60 fps.

Bug 5928605

We're up to 57 fps for a conversation with only mms picture
attachments (but only 2-3 listitems are on screen at once) and
up to 48 fps for a conversation with only sms items (8 listitems
on screen at the same time). This CL adds a couple of tweaks.
One, the date wasn't getting shown on mms items. Two, the
expensive message building wasn't getting cached.

Change-Id: Ibcf214e571c9bbb91ba78a48321445633f9d9abb
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
f627528d5e7780baa20975c067637126c3fc0f57 08-Mar-2012 Tom Taylor <tomtaylor@google.com> Use fixed-size listitems for mms

Bug 6125115

If we know a listitem is an mms listitem, preload the mms portion
of the listview so it'll be fullsize. This greatly reduces jank
scrolling a conversation list the first time.

Change-Id: I8f4e4f55e03adaf10d4e0fad10848c776a14d4c8
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
ac2f043e7ded55ce835d474e578155ecc0c79668 29-Feb-2012 Tom Taylor <tomtaylor@google.com> MESSAGE_TYPE_NOTIFICATION_IND causes a DB read on UI thread in MessageListitem

Bug 6084942

The code called the DownloadManager which read the status column
from the pdu table. With this change, we read the status column
along with the other columns associated with the message. When
the value changes, the MessageListAdapter requeries automatically
so the value is kept up to date.

Change-Id: Ief027ac0178b7261e34781741760a0a756936458
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.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/MessageItem.java
442a32e235a56401a849beda5564912bb2783e57 10-Jan-2012 Tom Taylor <tomtaylor@google.com> Handle the case where the recycler deletes a visible message
Bug 5789152

The recycler deletes messages from the database in a background thread.
The UI's list adapter can momentarily be out of sync. Gracefully handle
the case where a mms message can't be loaded.

Change-Id: I33919495aa61781417eda8df64277b8029e37128
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.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/ui/MessageItem.java
3fb271abe0c478d0ea8432830589774182079c86 30-Jun-2011 Tom Taylor <tomtaylor@google.com> New UI look for Messaging

Changes include left and right avatars for sender/recipient in
message items, an icon (instead of text) for the send button.

Change-Id: I4a112ee656a38476a5238d680b59bf6c52dfa2ca
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
0e6ae5265245a13e1bef96c6aad1e3f2c1c7236e 18-Mar-2011 Fredrik Roubert <roubert@google.com> Add a label "Received:" and use it for received messages.

Change-Id: I063d4277c09fe5df6125a221c89d91df83baedac
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
f2de72229b2d922e0eed7659919e383d30addd84 12-Mar-2010 Tom Taylor <tomtaylor@google.com> Fix delivery icon

Show the same delivery icon for mms as for sms. Bug 2501870

Change-Id: I0221f75cd1a0a919d28370c0cd0bdeb598fc69ff
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
63ac1002131c90ae78ae1d3e69a77fa1f8d2b303 09-Mar-2010 Tom Taylor <tomtaylor@google.com> Fix sending message

Dial back the if-test that determines whether we show a message
as "Sending..." in CMA. Remove the test for waiting for delivery
report because in some cross-network situations, we never get
those acks. Bug 2498420.

Change-Id: I7de13a9000873cafb219d3eb29c831322b10146b
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.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/MessageItem.java
5a73318ac906b37eb5634a6975a8a26ef5ed36ef 05-Mar-2010 Tom Taylor <tomtaylor@google.com> Multiple status icons

Previously, we could only show one of three possible icons with an
individual message: locked, delivered, and error. With this change,
all three icons can be displayed. The new icons are smaller than the
old ones. Still waiting for a couple of new icons. Bug 2293991

Change-Id: I960746f0e5a0601ae79b4104316eda0a7d1978c1
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.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/MessageItem.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/ui/MessageItem.java
f114492537753bc68640d4a0d403861387296bcb 04-Jan-2010 Mark Wagner <mxw@google.com> search work

see the comments in the provider cl for more details
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
64c734ffe641e64faf77d3a0d879b1ffd3c02730 23-Dec-2009 Tom Taylor <tomtaylor@google.com> am 6be18bed: Unbundling work

Merge commit '6be18bedb5b87dbbcdb54f37d5a0945bd0f71377' into eclair-mr2-plus-aosp

* commit '6be18bedb5b87dbbcdb54f37d5a0945bd0f71377':
Unbundling work
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/MessageItem.java
48e957dd030904805573f5ca1a408cd5c4ea37bb 18-Nov-2009 Tom Taylor <tomtaylor@google.com> am 3b7f32b2: am 715e32f9: Fix ANR from calling Contact.get()

Merge commit '3b7f32b230434a1dcadf38d581ecc75fb0ae05bf' into eclair-mr2-plus-aosp

* commit '3b7f32b230434a1dcadf38d581ecc75fb0ae05bf':
Fix ANR from calling Contact.get()
3b7f32b230434a1dcadf38d581ecc75fb0ae05bf 18-Nov-2009 Tom Taylor <tomtaylor@google.com> am 715e32f9: Fix ANR from calling Contact.get()

Merge commit '715e32f97bd9d8ce4b5ba650b97ba4b137150456' into eclair-mr2

* commit '715e32f97bd9d8ce4b5ba650b97ba4b137150456':
Fix ANR from calling Contact.get()
715e32f97bd9d8ce4b5ba650b97ba4b137150456 18-Nov-2009 Tom Taylor <tomtaylor@google.com> Fix ANR from calling Contact.get()

The Contact.get() API allows the caller to specify whether the operation
can block (looking up contact info in the DB) or not. There are about 10
places where various callers were passing "true" to canBlock, all coming
from the UI thread. We've previously fixed Contact.get() to always return
a Contact, with the number filled in, even if we don't have the contact
in the cache. With this change, never block the UI thread getting a contact.
The worst side-effect should be showing a number, instead of a name.
Fixes bug 2265631.
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
ab57d4c842e53146db2074bd1f1ac2670678fa96 10-Nov-2009 Tom Taylor <tomtaylor@google.com> am 53628a1a: am fd8357ff: Fix missing From field

Merge commit '53628a1ade48d676cf946e55659c4b9bb7811b91' into eclair-mr2-plus-aosp

* commit '53628a1ade48d676cf946e55659c4b9bb7811b91':
Fix missing From field
53628a1ade48d676cf946e55659c4b9bb7811b91 10-Nov-2009 Tom Taylor <tomtaylor@google.com> am fd8357ff: Fix missing From field

Merge commit 'fd8357ff5febab0141e1beb8dd3b26f70416b108' into eclair-mr2

* commit 'fd8357ff5febab0141e1beb8dd3b26f70416b108':
Fix missing From field
fd8357ff5febab0141e1beb8dd3b26f70416b108 09-Nov-2009 Tom Taylor <tomtaylor@google.com> Fix missing From field

In rare cases, a Mms pdu header will not contain a "from" address.
Rather than leaving the from address blank, use a slower, but more
reliable method of getting the from address from the "addr" table.
This is the technique the Mms notification system uses to get the address
displayed in the notification bar when a new message is received.
Fixed bug 2241939.

Change-Id: If932d4f1c24f46f3c3906a7e2658d7f67d4a2cfa
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
ccf56ee6079a2378031a964f6a8da655e1fde023 09-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
161375d2c4eff31add607fc0befa5c781c6fd7f1 28-Oct-2009 Tom Taylor <tomtaylor@google.com> Store and show error code

When we get an intent from the telephony layer, extract and
save any error codes bubbled up. Load the error code in MessageItem
and for now, display the code in the Message Details dialog.
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.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/ui/MessageItem.java
0e19f738c114f86d0d88825ee48966015fb48b6d 25-Aug-2009 Tom Taylor <tomtaylor@google.com> Don't always show sent timestamp

Hide the sent timestamp until an SMS or MMS message has been
successfully sent.

Change-Id: Ie394a8dd6e3ad3852a8cb945794783f2fbf0afcc
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
e7c8092e952d9d5edbc1c0b62e5f872c4d21d2b4 18-Aug-2009 Ondrej Novy <ondrej.novy@gmail.com> Mms app: Show pending/failed/success icon in MessageList.
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
52f854cbb75e8f9975c7e33216b828eb2f981095 30-Jul-2009 Tom Taylor <tomtaylor@google.com> Don't show Anonymous as the MMS sender

When the MMS app receives a message of type MESSAGE_TYPE_NOTIFICATION_IND = 0x82,
it tries to extract the sender out of the pdu headers. In the case of a particular
platform/provider, the sender header is not set. Until now, we'd fill in the sender
with "Anonymous". Eventually, another pdu arrives with the headers filled out and
the Anonymous is replaced with the real sender. The flashing is annoying, so just
let that field be empty.
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
331864544ec51ba6807fc5471cc6d537b7fef198 08-Jun-2009 Mark Wagner <mxw@google.com> add search capability
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
440071bb40c9c7bac5870a8bb3110edbe665c702 04-Jun-2009 Tom Taylor <tomtaylor@google.com> Add initial UI to lock/unlock a message to prevent the message from being deleted.

First cut at the UI to allow a user to lock (or unlock) a message and prevent it
from being automatically deleted by the recycler.
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
33a87f96f8c625aa10131a77a3968c97c4ec5a62 27-May-2009 Ficus Kirkpatrick <ficus@android.com> Remove all references to ContactInfoCache except those in Contact.

This is in preparation for moving the database logic from ContactInfoCache
into Contact and removing the old cache.
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
70c73e05a792832aa28da751cdaf3fa83a7b8113 23-Apr-2009 Ficus Kirkpatrick <ficus@android.com> Begin moving all conversation data behind a data model with a cache.

Remove some unused code like the stale concept of "common threads" vs.
"broadcast threads", old references to search, etc.
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
48da875f1beea835c6771977e5bd8a9aa3d4bc10 13-Apr-2009 Tom Taylor <tomtaylor@google.com> Begin adding UI unit tests to the Mms app.

Start with a couple preliminary tests and go through the GIT workflow.
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
66dde9460badebf8e740275cabde9cca256006eb 16-Apr-2009 Ficus Kirkpatrick <ficus@android.com> Stop requiring a Context to be passed in to ContactInfoCache.

It already has a perfectly good one sitting around in its instance.
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java
591d17e9a51bb9f829d6860dc7aa0bad25062cd5 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.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/MessageItem.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/MessageItem.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/ui/MessageItem.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/ui/MessageItem.java
59d72c57ce9c319b6cd43ce2ab36b7076c9e821f 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.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/MessageItem.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/MessageItem.java
8eed706474910ccb978acda03e85d3261037da6e 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Mms/src/com/android/mms/ui/MessageItem.java