ab845dee6565a8dfc384186bc8f2e801a2b087e1 |
|
07-Jun-2014 |
Ye Wen <ywen@google.com> |
Use unified log tag for Mms app Change-Id: Icec182674c008c2b9d01a6010a2aafc8111b2b7e
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
8a453148a598bf2ec3926d1cd1d2ea9aa6c3a24f |
|
18-Feb-2013 |
Bin Yang <bin.y.yang@intel.com> |
Add a type check to get the right message. The messages are divided into two classes: mms and sms. Maybe one mms and sms have the same id. Add a type check in getCursorForItem function to get the right message. Change-Id: I48cbc9e437b1c33788efceff49acc679151dcb63 Signed-off-by: Rui Wang <ruix.wang@intel.com> Signed-off-by: Bin Yang <bin.y.yang@intel.com>
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
ea339a26d0f2de0087d4c6ebf9f55c505b922695 |
|
13-Sep-2012 |
Tom Taylor <tomtaylor@google.com> |
Unable to view all participants of Group MMS thread Bug 7087996 Bug 7161745 Add a group participants activity so a user can see all the members of a group chat. Also fix a monkey bug with isCursorValid(). Change-Id: Ic73b6e27a139c74e4c735628ce822d102501da83
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.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/MessageListAdapter.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/MessageListAdapter.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/MessageListAdapter.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/MessageListAdapter.java
|
eee73088ec62f011fe99abfc7aac1ec6fd3feb52 |
|
01-Mar-2012 |
Tom Taylor <tomtaylor@google.com> |
Some pictures not showing up Bug 6092116 The pdu loaded callback was only getting set if the slideshow was non-null. It should be the other way around. Since the slideshow gets built at the same time as the pdu gets loaded, list items weren't getting told when the pdu was finished loading. With this change, the code registers for the pdu loaded callback when the slideshow and pdu haven't been loaded yet. Change-Id: I93773f2a1e79a45d8cf6940b4a7f8f13b232ed4f
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.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/MessageListAdapter.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/MessageListAdapter.java
|
6b97c4bd0b9e7a69f9388e8840db2fe512d73fc3 |
|
26-Jan-2012 |
Tom Taylor <tomtaylor@google.com> |
Messaging app displays messages from SIM card right-aligned Bug 5706440 SIM card messages all have a type of 0, which is Mms.MESSAGE_BOX_ALL. Adjust the message type interpretation code to indicate Mms.MESSAGE_BOX_ALL as incoming. Messages in the sms table always have a specific type set (non-zero). Mms.MESSAGE_BOX_ALL is only used as a query parameter in the provider. Change-Id: I8c6288365ecaa80018e9951f69595fa2f151996b
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
37fcee8d52f7fa928b04cd34709eddf7a247fbed |
|
21-Dec-2011 |
Tom Taylor <tomtaylor@google.com> |
Wrong message deleted after changing device orientation while deleting a message Bug 5787017 When a longpress menu item was selected, the old code relied on the cursor being the same as when the tap took place. When the device orientation is changed, the adapter rebuilds the list and the cursor is left at a random position. With this change, the code saves the tapped message item and ultimately uses the actual item when/if a menu item is selected. Change-Id: I2f5af609b2ac918f1ffe613fc8e5397afff5ce64
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
9a0457146d9caa476ca8c44c950dce741ede8143 |
|
01-Oct-2011 |
Todor Kalaydjiev <todor@google.com> |
Fix memory leaks in SMS/MMS list items: b/5393957 The main leak was from the fact that recycled and released views were still being kept in mAddressToMessageListItems, and each view could store references to a message item with attachments. It turns out that that map is actually never used because no one calls notifyImageLoaded. So I'm removing the map and the method. Change-Id: Ie1fd787c9dee6b6d803d1e778a615665b2299bfd
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
6148dea29ff0b39b6247323425299ba83f14d20d |
|
27-Sep-2011 |
Mark Wagner <mxw@google.com> |
bugfix 5100213 Messaging App scrolls to bottom when receiving new SMS Change-Id: I72563205c77f913c42ad4a8a4812d4fc41cee336
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
10ca1d3969305df50fb07a17f5d23b0ed59f7868 |
|
31-Aug-2011 |
Tom Taylor <tomtaylor@google.com> |
Lots of visual tweaks to ConversationList Draw vertical rules around items. Move attachments to the bottom of the message. Use new divot from Talk. Bug 5151145 Change-Id: Ib04ff0105990baab990137cd72eabf3d4399aebf
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
ca1f651ece39b2b415519ca49b9bb5275b6a64bf |
|
19-Aug-2011 |
Tom Taylor <tomtaylor@google.com> |
Chat history list should look like gtalk's implementation The message list items need to expose the ListView's background to make each conversation item look like a bubble. Previously, the code would programatically move the list items pieces around to make left and right items, corresponding to incoming and outgoing messages. This became too unweildly and now we've got separate list items for incoming and outgoing messages. Bug 5151145 Change-Id: Ib0e6aac7de8b9bb5b05be9185a42c9d83b09fdd3
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
602c2d23651b9ff764cfca62cc8df922587c328e |
|
10-Aug-2011 |
Tom Taylor <tomtaylor@google.com> |
Alignment of (outgoing) messages is wrong Bug 5139421 Change-Id: I3dba2be77b07d78fbd781dd517d4da343fb444d7
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
313d09ee558e6ac94ab28a205357885dc830cd0d |
|
18-Jul-2011 |
Tom Taylor <tomtaylor@google.com> |
SMS messages sent from me do not show my picture Remove an old avatar cache used for MessageListItems and use the avatar found in Contacts. This is the same used by the Conversation. Bug 3324364 Change-Id: Ie9235ae2efb0817f90346217aecc663d665e8b77
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.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/ui/MessageListAdapter.java
|
54711acb7191269e0a4723320bd74f29dd2c9223 |
|
18-Nov-2010 |
Fredrik Roubert <roubert@google.com> |
Add the field date_sent to keep track of the date a message was sent. Change-Id: I848511952589af86b57fc24d4a001958017887ec
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
e9f32256c438d3560a986ae5695e25da748587be |
|
10-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Adopt LruCache in MMS. Change-Id: I644e0928f9e93d885713c037a5beef067cf5c2d3 http://b/3184897
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
64f30b7a225d4cdc2b11d1855b589e0b6b1519ff |
|
16-Oct-2010 |
Tom Taylor <tomtaylor@google.com> |
am 06e1b2ae: am 9b9f5da8: Fix crash logging exception Merge commit '06e1b2aec57cea234775054abfec862792547088' * commit '06e1b2aec57cea234775054abfec862792547088': Fix crash logging exception
|
9b9f5da86e17db206e0581704f41383ee0805049 |
|
15-Oct-2010 |
Tom Taylor <tomtaylor@google.com> |
Fix crash logging exception Bug 3099377. The rest of the code is full of lines like this: Log.e(TAG, e.getMessage(), e); I tested code like that and when getMessage() is null it will log (but not crash): E/MessageListAdapter( 2210): null E/MessageListAdapter( 2210): com.google.android.mms.MmsException E/MessageListAdapter( 2210): at com.android.mms.ui.MessageListAdapter.newView(MessageListAdapter.java:255) E/MessageListAdapter( 2210): at android.widget.CursorAdapter.getView(CursorAdapter.java:182) Change-Id: I728e20cc5f0d8e986d67d2964d04682645a550d4
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
7b9797e295d2c29bd92c602f1977bbf7e5bc713f |
|
16-Sep-2010 |
Tom Taylor <tomtaylor@google.com> |
am 0659dce5: am 5a3151ad: Handle OutOfMemory when decoding images Merge commit '0659dce52637221486f545778f741655370a8015' * commit '0659dce52637221486f545778f741655370a8015': Handle OutOfMemory when decoding images
|
5a3151adedd991252dd529c75e85a3374970dfb0 |
|
16-Sep-2010 |
Tom Taylor <tomtaylor@google.com> |
Handle OutOfMemory when decoding images Decoding images and videos in the messaging app appears to be a vulnerable point for running out of memory. Catch those exceptions, log an error, and continue on without loading the image. Most of these "catches" are around situations where there's been a problem decoding the original image in the first place, and now we're simply trying to decode a small missing stand-in image. However, since BitmapFactory.decodeResource seems to be in an inordinate number of bug reports, I want to log every use in the code in case of failure. Handles the 2nd part of bug 2994057. Change-Id: Iaa8035f6ef28385b353d31507b9753934881d3e8
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
c2f641cd6716e9e8ee8848811a21f51138f7d451 |
|
21-Apr-2010 |
Tom Taylor <tomtaylor@google.com> |
Fix messaging updating ComposeMessageActivity stopped updating its list of messages when a message was sent or received. A recent change (Ic18f0307) to not automatically register the ContentObserver when creating the CursorAdapter broke the messaging app. Fixed by passing in the flag to request the ContentObserver. Change-Id: Ic55e67d7ecd1e33f59d19755752054b430402bbd
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
1bd48ffa3d061d9537425fa7ab40b24ffd8833e7 |
|
09-Apr-2010 |
Evan Millar <emillar@google.com> |
Use the default avatar until we have something better to replace it with. Fixes bug http://b/issue?id=2584852 Change-Id: Ia7efaf4210037f9408c2e87ef2dbc56db45b05e0
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
32fc80c3da56787085648b83940f897df56b83c4 |
|
18-Mar-2010 |
Tom Taylor <tomtaylor@google.com> |
Don't edit the wrong item If a new message arrives or the underlying DB changes at the same moment the user taps the error icon to edit and resend a message, the editor can come up showing the wrong message. When the DB gets updated, MessageListAdapter.notifyDataSetChanged() clears the mMessageItemCache. At the same time, editing a message with an error calls mMessageListItemhandler.handleMessage, which calls getMessageItem which would try and get the messageItem out of the cache. Since the cache is empty, it would then create a new messageItem out of whatever the cursor was pointing to! With this change, the code in this path will not create that bogus item and will silently do nothing. This same function is called from the menu code and I argue the menu code shouldn't be creating items either, but I didn't make that change in this CL. Bug 2372633 Change-Id: I009a4b561e5d7a81cb45724fdf3041e9e413e09a
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
b948f78f926dbce6eb93d4e56b09786b2c4ff0f8 |
|
16-Mar-2010 |
Mark Wagner <mxw@google.com> |
track list items so they can be updated upon avatar load completion Change-Id: I3a78b922614d5f16880da85718e540325afa586d
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.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/MessageListAdapter.java
|
48920b861aafadff9d85175298a2324b8dd56cd6 |
|
03-Feb-2010 |
Tom Taylor <tomtaylor@google.com> |
Fix "me" avatar Clicking on the avatar representing "me" in message thread would often do nothing. The contact uri and contact id we're getting set from the wrong function. Change-Id: Id8c166abb1af281090f8fdbfa04d6f31d197c5f2
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.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/MessageListAdapter.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/MessageListAdapter.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/MessageListAdapter.java
|
f1ab045ff991e1ec3e4161d213627b8629971c0e |
|
02-Dec-2009 |
Tom Taylor <tomtaylor@google.com> |
Fix auto-requery ANR's There are a couple of bug reports of ANR's from CursorAdapter doing a requery on the UI thread. There are two off-the-beaten-path places where the CursorAdapter was getting set with auto-requery == true by default. Also, the recipients editor adapter had requery == true. With this change, there should be no auto-requerying in mms.
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
8b5ea2314049354f289925d4d8c6f11d13626a34 |
|
27-Oct-2009 |
Mark Wagner <mxw@google.com> |
inline avatars for mms
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
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/MessageListAdapter.java
|
67b794480aaad0e1958df2988671b78ea03b76e1 |
|
28-Sep-2009 |
Tom Taylor <tomtaylor@google.com> |
Don't use auto-requery The default behavior with CursorAdapter is to do an automatic requery when the content has changed. This happens on the UI thread and can cause ANR's. Handle the content change notification ourselves and do a new query asychronously. Update ConversationList to handle content changes and do a background query, rather than relying on the auto cursor requery. The rarely used ManageSimMessages can still do an auto-requery, but it's less likely because we don't write to nor change messages on the SIM. Also, a different content observer is already registered to notice SIM changes and update the message list in the background. Change-Id: I42ac518b315ea55ff6edbe0a912bf60c7f868ea5
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|
331864544ec51ba6807fc5471cc6d537b7fef198 |
|
08-Jun-2009 |
Mark Wagner <mxw@google.com> |
add search capability
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.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/MessageListAdapter.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/MessageListAdapter.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/MessageListAdapter.java
|
e995b84b783c4a430bf3899372a337cc9c896b38 |
|
17-Apr-2009 |
Ficus Kirkpatrick <ficus@android.com> |
Scrub the MMS app for dead code.
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.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/MessageListAdapter.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/MessageListAdapter.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/MessageListAdapter.java
|
8eed706474910ccb978acda03e85d3261037da6e |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/packages/apps/Mms/src/com/android/mms/ui/MessageListAdapter.java
|