Permalink
Switch branches/tags
android-wear-5.1.1_r1 android-wear-5.1.0_r1 android-wear-5.0.0_r1 android-sdk-support_r11 android-sdk-adt_r20 android-sdk-adt_r16.0.1 android-sdk-4.4.2_r1.0.1 android-sdk-4.4.2_r1 android-sdk-4.0.3_r1 android-sdk-4.0.3-tools_r1 android-m-preview android-m-preview-2 android-m-preview-1 android-l-preview_r2 android-cts-verifier-4.0.3_r1 android-cts-verifier-4.0_r1 android-cts-5.1_r19 android-cts-5.1_r18 android-cts-5.1_r17 android-cts-5.1_r16 android-cts-5.1_r15 android-cts-5.1_r14 android-cts-5.1_r13 android-cts-5.1_r10 android-cts-5.1_r9 android-cts-5.1_r8 android-cts-5.1_r7 android-cts-5.1_r6 android-cts-5.1_r5 android-cts-5.1_r4 android-cts-5.1_r3 android-cts-5.1_r2 android-cts-5.1_r1 android-cts-5.0_r9 android-cts-5.0_r8 android-cts-5.0_r7 android-cts-5.0_r6 android-cts-5.0_r5 android-cts-5.0_r4 android-cts-5.0_r3 android-cts-4.4_r4 android-cts-4.4_r1 android-cts-4.2_r2 android-cts-4.2_r1 android-cts-4.1_r4 android-cts-4.1_r2 android-cts-4.1_r1 android-cts-4.0.3_r2 android-cts-4.0.3_r1 android-cts-4.0_r1 android-cts-2.3_r12 android-cts-2.3_r11 android-cts-2.3_r10 android-cts-2.2_r8 android-5.1.1_r38 android-5.1.1_r37 android-5.1.1_r36 android-5.1.1_r35 android-5.1.1_r34 android-5.1.1_r33 android-5.1.1_r30 android-5.1.1_r29 android-5.1.1_r28 android-5.1.1_r26 android-5.1.1_r25 android-5.1.1_r24 android-5.1.1_r23 android-5.1.1_r22 android-5.1.1_r20 android-5.1.1_r19 android-5.1.1_r18 android-5.1.1_r17 android-5.1.1_r16 android-5.1.1_r15 android-5.1.1_r14 android-5.1.1_r13 android-5.1.1_r12 android-5.1.1_r10 android-5.1.1_r9 android-5.1.1_r8 android-5.1.1_r7 android-5.1.1_r6 android-5.1.1_r5 android-5.1.1_r4 android-5.1.1_r3 android-5.1.1_r2 android-5.1.1_r1 android-5.1.0_r5 android-5.1.0_r4 android-5.1.0_r3 android-5.1.0_r1 android-5.0.2_r3 android-5.0.2_r1 android-5.0.1_r1 android-5.0.0_r7 android-5.0.0_r6 android-5.0.0_r5.1 android-5.0.0_r5 android-5.0.0_r4 android-5.0.0_r3
Nothing to show
Commits on Nov 15, 2009
  1. Merge commit 'e2886eebee1759509602bf391ff7087279115c6b' into eclair-s…

    …holes-release
    android-build SharedAccount committed Nov 15, 2009
  2. Merge commit 'e3cc2856bde797af8b9c5e0d9e3b6bb49b1200e4' into eclair-s…

    …holes-release
    android-build SharedAccount committed Nov 15, 2009
Commits on Nov 14, 2009
  1. Merge change I430b3e56 into eclair

    * changes:
      Import revised translations.  DO NOT MERGE
    Android (Google) Code Review committed Nov 14, 2009
  2. Import revised translations. DO NOT MERGE

    Approver: jerryw
    Eric Fischer committed Nov 14, 2009
  3. Fix null ref

    Fixes bug 2261398.
    
    Change-Id: Idb4db938e93b792248d49410b9474c71d5d4bb37
    Tom Taylor committed Nov 14, 2009
Commits on Nov 13, 2009
  1. Revert "Don't show Converting to MMS"

    This reverts commit 8c8e093.
    android-build SharedAccount committed Nov 13, 2009
  2. Revert "Only register for service changes when needed"

    This reverts commit cd88c0f.
    android-build SharedAccount committed Nov 13, 2009
  3. Merge change Iee6fa925 into eclair

    * changes:
      Import revised translations.  DO NOT MERGE
    Android (Google) Code Review committed Nov 13, 2009
  4. Don't show Converting to MMS

    When we open a thread where the recipient is an
    email address, don't automatically show the "Converting
    to multimedia message" The user already saw that when
    he/she added the email recipient. Bug 2235226.
    Tom Taylor committed Nov 5, 2009
  5. Import revised translations. DO NOT MERGE

    Approver: jerryw
    Eric Fischer committed Nov 13, 2009
Commits on Nov 12, 2009
  1. Only register for service changes when needed

    The SmsReceiverService registered for SERVICE_STATE changes and this
    was causing the Messaging app to be needlessly started up on every
    SERVICE_STATE change. With this fix, we only register for that event
    when we fail to send a SMS message because of no radio sig, etc.
    Once we successfully send the queued message, we'll unregister the
    event filter.
    
    Change-Id: I12cbe0cb9a72bbf628bf9a4929680519e85057a2
    Tom Taylor committed Nov 12, 2009
Commits on Nov 11, 2009
  1. Fix a draft mix-up bug

    There's a particular situation that'll cause ComposeMessageActivity
    to choose an existing draft even though the new intent is for a totally
    different contact. Fixes bug 2254833.
    
    Change-Id: I1065806c7535a48e1c27140c4c76ccf9b9959c03
    Tom Taylor committed Nov 11, 2009
  2. bug 2251648: fix a bug where the Conversation's recipients field fail…

    …ed to be initialized.
    
    - this caused by a recent change to store the recipient id key as a Long instead of a String
    in RecipientIdCache. It's an easy fix.
    Wei Huang committed Nov 11, 2009
Commits on Nov 10, 2009
  1. bug 2250049: need to allow email address when sending a SMS message.

    - my change Ia80a2736 added code to validate and scrub MMS address. However, as a side effect
    it also disallowed email address for SMS messages. Fix that.
    
    Change-Id: Iac3783e056c933531da73bd53eb8ea9d7c0eb154
    Wei Huang committed Nov 10, 2009
  2. Fix ANR deadlock

    When the Mms app starts up, Conversation starts a background thread
    to load all the conversations into a cache. It had a lock on the cache.
    Meanwhile, the ComposeMessageActivity started up and tried to load
    its conversation, but was blocked and eventually ANR'd. Make the
    sync lock cover a much smaller scope and don't hold the lock during
    the slow operation of looking up the contact info. Also, remove the
    unused SuggestionsProvider. It was causing the Mms app to spin up
    needlessly. Fixes bug 2220565.
    
    Change-Id: I0f8260338a5368dc4b8ef11249361ca0716a2887
    Tom Taylor committed Nov 10, 2009
Commits on Nov 9, 2009
  1. Merge change Ifae5cfc5 into eclair

    * changes:
      bug 2248168: populate the recipient field when texting from the fast track.
    Android (Google) Code Review committed Nov 9, 2009
  2. 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
    Tom Taylor committed Nov 9, 2009
  3. bug 2248168: populate the recipient field when texting from the fast …

    …track.
    
    - need to call Conversation.setRecipient() when creating a new Conversation object.
    Wei Huang committed Nov 9, 2009
Commits on Nov 8, 2009
  1. bug 2236535: find a way to update the stale canonical_addresses entri…

    …es with new SMS/MMS number.
    
    - when the user sends a message, let's check if the new message's address is different than the one
    stored in the recipientId's cache. If it is, let's update the cache and the underlying canonical_addresses
    table in the db, so we wouldn't keep using a bad number for future references.
    
    Change-Id: I3ac9940fa3c37d29c7398cac4535915249469563
    Wei Huang committed Nov 7, 2009
  2. bug 2245490: fix MMS makeSendPdu() not to return null.

    - one of my previous change allowed makeSendPdu() to return null if there is not a valid recipient for the message.
    However, there is a separate code path that makes the recipientless message a valid scenario. So always return
    a valid pdu object.
    
    Change-Id: Ice49d158e23374ca31575efc523af7e063bcb2ff
    Wei Huang committed Nov 8, 2009
Commits on Nov 7, 2009
  1. Speedup contact name resolution

    The first time Messaging is launched, a background thread loads
    the conversations threads, which loads the contact info cache. While
    this is happening, the ConversationList activity starts and the
    first thing it does is clear the contact cache that is being built
    in the background. Don't clear the cache if it's currently being
    built. Fixes bug 2167799.
    
    Change-Id: Id8a9345caaf7905d1f4bcc18ee45d11cb860d293
    Tom Taylor committed Nov 6, 2009
Commits on Nov 6, 2009
  1. Merge change Idc127177 into eclair

    * changes:
      Fix contact cache rebuilding
    Android (Google) Code Review committed Nov 6, 2009
  2. Fix contact cache rebuilding

    Don't toss and rebuild the ContactInfoCache on every contact change.
    With this change, we mark a contact as stale and the next time we're
    asked for the contact, we asynchronously update the contact in the
    background. Helps speedup bug 2167799.
    
    Change-Id: Idc1271776cddd43fedcd7f31608a3302c8861813
    Tom Taylor committed Nov 6, 2009
  3. bug #2236553: catch NPE thrown by SmsManager.sendMultipartTextMessage().

    - need to catch the NPE and deal with it, like clean up and delete the queued message. Otherwise we not only get a crash in the app, but the queued message would keep getting retried, therefore grow the conversation thread everytime it retries.
    
    - also catch a RuntimeException when we try to insert an existing conversation into the Conversation cache. That caused an app crash too!
    
    Change-Id: Iba081955e19d7a5eb517c3a3aea5186534787c15
    Wei Huang committed Nov 6, 2009
  4. bug 2236527: need to scrub the phone number before sending a MMS mess…

    …age.
    
    - add MMS address validity checking and scrubbing. If the phone number used to send a MMS message
    contains invalid characters (non digits and non-valid separators), we now warn the user when he tries
    to send the message. The prior validity checking code only checks against GSM SMS address, so it
    would miss all the invalid chars for MMS address.
    
    - assuming the MMS address is ok but contains separators that are not valid MMS address chars (as
    far as the network is concerned), we scrub the number when creating the SendReq data structure for
    MMS message.
    
    - flag a few places where things are still not correct, but too risky to fix for MR1.
    
    Change-Id: Ia80a2736f955b94a8cac51ffeb06617a95580ab8
    Wei Huang committed Nov 5, 2009
Commits on Nov 5, 2009
  1. Wrong contact header

    Previously fixed this, but if the underlying search in ContactHeaderWidget
    fails or takes a long time, the contact header will still show the wrong
    info. Force an invalidate after clearing the ContactHeaderWidget so it'll
    redraw empty, rather than leave the previous contact information.
    Bug 2233151.
    Tom Taylor committed Nov 5, 2009
  2. bug #2236535: when entering MMS compose screen via an address in an i…

    …ntent, replace the matching contact cache with the intent address.
    
    - this is basically another path in which we have the actual dest address (in the intent). When the compose screen finds the
    matching cached contact, it should replace the contact's address with the specified address in the intent, in case the
    cached contact has a bad address.
    
    Change-Id: Id55500e212df5dcd47ff7a1858bc99d4b4656df1
    Wei Huang committed Nov 5, 2009
Commits on Nov 4, 2009
  1. bug #2236535: use an initial bad address (from a merged contact) woul…

    …d lead to permanent failure for the messaging thread even after a good number is used.
    
    - when the user selects/types a new number in the recipients editor, and we find a cached contact, set the contact's number to be the newly selected number. This will allow the user to correct the address, at least until the next time MMS rebuilds the contact cache with the bad number stored in the database. This will get us to par with the Cupcake behavior. Unfortunately, after MMS app is relaunched, the thread would use the bad initial adddress again (loaded from the 'canonical_address' table in the db). That's a much harder, riskier fix, so deferring to later.
    
    Change-Id: If32958482b14848bd770cff50e4736457c47ac8a
    Wei Huang committed Nov 4, 2009
Commits on Oct 29, 2009
  1. Import revised translations. DO NOT MERGE

    Eric Fischer committed Oct 29, 2009
Commits on Oct 26, 2009
  1. Move mem change to MR1

    Manually merge change from MR2 to MR1. Handle an out of memory
    exception when trying to build an attached image thumbnail.
    Bug 2171440.
    
    Change-Id: I5f7c6d7fff34e66d3e20b1fed9e78b08454e2db7
    Tom Taylor committed Oct 26, 2009
Commits on Oct 23, 2009
  1. Fix build

    Change-Id: I02b4038eda480b4bf78574e736dbb7813b78e6a0
    Tom Taylor committed Oct 23, 2009
  2. Clear contact header

    When updating the contact header widget, clear any stale info first
    so we don't end up associating the wrong picture with a different
    contact.
    Fixed BC-triaged bug 2173406.
    
    Change-Id: Ic4cabf8b88e8b0922308adefaeea9dd9467f9afa
    Tom Taylor committed Oct 23, 2009
Commits on Oct 22, 2009
  1. Handle null cursor

    If for some reason the SmsProvider returns a null cursor when we try
    and load the SIM messages, show the "no sim messages" UI rather than
    leaving the UI in a constant loading (animated loading cursor) state.
    This is part three of three fixes for BC-triaged bug 2205782.
    
    Change-Id: Ie3dceea621f8c2aa0a2c98f79278c120df3c37e7
    Tom Taylor committed Oct 22, 2009
  2. Fix null ref

    When getResizedImageData fails to scale down an image to a size that'll fit in
    the remaining available message space, return null rather than trying to
    dereference the null byte array.
    
    Change-Id: Ibb1f5ddd935f952e5f90d8835947cc46bc138aa2
    Tom Taylor committed Oct 22, 2009
Commits on Oct 21, 2009
  1. Import revised translations. DO NOT MERGE

    Approver: jerryw
    Eric Fischer committed Oct 21, 2009