Commits on Jun 24, 2010
  1. Fix mismash message

    A particular set of repo steps involving creating a draft, then deleting
    the draft and then receiving a new message can lead to a situation where
    a new incoming message gets the old thread id of the discarded
    draft. The compose activity can end up displaying the recipients of the
    old message with the contents of the new message. Recognize this dangerous
    situation and bail out to the ConversationList where the user can
    enter the compose activity in a clean manner.
    Bug 2793874
    Change-Id: I04727de3908e3c50d4687cb6e2a9cc6589daed9c
    Tom Taylor committed with android-build SharedAccount Jun 24, 2010
Commits on Jun 21, 2010
  1. bug #2780967: fix SMS sending message to the wrong person.

    - there is an edge case where an old draft message (but w/ only recipient entered, no draft message) would confuse Compose activity to think it's the same
    thread_id as a new message (coming into onNewIntent() from status notification). In that case, we don't re-initialize mConversation, which retained the old draft recipient
    When the user sends a new message in that state, the message would be addressed to the old draft recipient instead of what's appearing in the UI.
    Change-Id: Ic78c4343dc1d9a1639f586dcc8ac861adf73f44f
    Wei Huang committed with android-build SharedAccount Jun 18, 2010
Commits on Jun 10, 2010
  1. @kruton

    Import revised translations

    Change-Id: Ie7862fab73887eef9e192abd4fc0fa4ddbc85d7a
    kruton committed Jun 10, 2010
Commits on May 26, 2010
  1. move synchronization fix over from master

    Bugfix 2622197.  Move this change over from master.
    Change-Id: Ia965a457db575cbb990e8c6edd9b771b45b75cfd
    Mark Wagner committed May 26, 2010
Commits on May 18, 2010
  1. bug #2641505: when the SIM card doesn't have the MSISDN, sending MMS …

    (merge baa290b from Eclair)
    Don't insert an empty or null number in the send request for MMS transaction. We'd get a NPE and fail to send the MMS message.
    Change-Id: I04b0aafef1c73fec4d16be5411006b9576615f5c
    Tom Taylor committed with Wei Huang May 18, 2010
  2. bug #2694518: remove Google Voice private API in MMS app per discussi…

    …on with team.
    - we decided that we cannot have Google specific code in a platform application like MMS. Will revisit this feature in Gingerbread.
    Change-Id: I5cf030a759be54ab32032a95141472a4fd89b5da
    Wei Huang committed May 18, 2010
Commits on May 17, 2010
  1. @kruton

    Import revised translations

    Change-Id: I1a468c6bdc681f520daeca68f12746f4177d4217
    kruton committed May 17, 2010
Commits on May 7, 2010
  1. Handle anonymous sender

    In some places (such as Korea), it's possible to receive
    a message without the sender's address. In this case,
    all such anonymous messages will get added to the same
    thread. Bug 2665039
    Change-Id: Ic6bf7a7bfadfd3162d21ef4a59788b8886679872
    Tom Taylor committed May 7, 2010
Commits on Apr 29, 2010
  1. @kruton

    Import revised translations

    Change-Id: I0dad3ab7334117adc44ee34defa6bfb0fc416520
    kruton committed Apr 29, 2010
Commits on Apr 28, 2010
  1. Merge "Fix cursor null-refs" into froyo

    Tom Taylor committed with Android (Google) Code Review Apr 28, 2010
  2. Merge "missing synchronization fix" into froyo

    Mark Wagner committed with Android (Google) Code Review Apr 28, 2010
  3. Fix cursor null-refs

    Found by the devious and relentless monkey. Bug 2631640
    Change-Id: If45ce4f5e42b25b2b0e69cedfd03f1b4c359c2b5
    Tom Taylor committed Apr 28, 2010
  4. @kruton

    Import revised translations

    Change-Id: I12f898e8ac915e0feaef9d429f66f69c4742e52d
    kruton committed Apr 27, 2010
Commits on Apr 27, 2010
  1. missing synchronization fix

    Bugfix 2622197.
    Modification of the static mListeners (hashmap) is synchronized on the ContactsCache
    class object.  This was missing, however, when we clone the hashmap in order to
    send out updates.  Cloning is done in case the callback modifies the list of listeners.
    Change-Id: Ic09aaee91e448c4a7d610b6f72ad8122fefef7da
    Mark Wagner committed Apr 27, 2010
Commits on Apr 23, 2010
  1. Fix unread notifications

    Reading one thread would mark all messages read. The expression
    read=0 OR seen=0 was getting combined with the thread_id in the
    provider like this: read=0 OR seen=0 AND thread_id=N, which was evaluated
    as read=0 OR (seen=0 AND thread_id=N). The expression needs parens
    so it will get evaluated correctly. Bug 2615680
    Change-Id: Ib495a74e41346b835a576a8d6d53e809b839f93d
    Tom Taylor committed Apr 23, 2010
Commits on Apr 22, 2010
  1. Fix MMS to work with GoogleVoice

    Look for a GV BroadcastReceiver rather than an activity.
    Tested with sample app. Bug 2614752
    Change-Id: Ic52e18ab40ec4813856db3f75dc8722e309a47ff
    Tom Taylor committed with Wei Huang Apr 21, 2010
Commits on Apr 15, 2010
  1. @kruton

    Import revised translations

    Change-Id: I25a081569e0f9f5f589e84f641c81848c79d61aa
    kruton committed Apr 15, 2010
Commits on Apr 14, 2010
  1. @bradfitz

    Fix Cursor NPE when closing.

    Change-Id: I81d432417cb02d785cd98ac24007728f0ada4644
    bradfitz committed Apr 14, 2010
Commits on Apr 9, 2010
  1. Merge "Use the default avatar until we have something better to repla…

    …ce it with." into froyo
    Evan Millar committed with Android (Google) Code Review Apr 9, 2010
  2. Use the default avatar until we have something better to replace it w…

    Fixes bug http://b/issue?id=2584852
    Change-Id: Ia7efaf4210037f9408c2e87ef2dbc56db45b05e0
    Evan Millar committed Apr 9, 2010
  3. bug #2582343: attempt to fix the sticky notification bug.

    - when going to the compose screen, we query to see if there are unread messages, and if so, update both read and seen columns to 1. So in the chance that read=1 and seen=0 (not sure how that can happen), we wouldn't update seen to 1.
    change the query to check for (read=0 OR seen=0) instead of just (read=0).
    - add selective verbose logging in case this isn't the real fix.
    Change-Id: I978ba3a83be227cd924d0c4c85d090bf42be1c8d
    Wei Huang committed Apr 9, 2010
Commits on Apr 8, 2010
  1. bug #2438230: more logging for Conversation and Recipient cache.

    - add more logging to try to catch the mismatching contact/thread bug.
    - add selective checking to make sure thread id and recipients are not compromised.
    Change-Id: I038dca4f7b32bf822ef68e344c7a6eaf8990e328
    Wei Huang committed Apr 8, 2010
Commits on Apr 5, 2010
  1. add launch performance test for messaging app

    this is part of the effort for collecting app launch time for the platform
    Change-Id: I757548dd605334781d55ac88934034aaa425ce92
    Guang Zhu committed Apr 5, 2010
Commits on Apr 2, 2010
  1. don't crash trying to show the delivery report if it doesn't exist

    Apparently you can click on the error icon to go back into compose
    message activity with the original text and original address
    prepopulated -- so you can fix it up.  But for reasons that aren't
    clear (it's not clear if it's even intentional) we continue to also
    show the failed message item with the failure icon.  If you long
    press on that item we include a menu item for showing the delivery
    report.  Clicking on that fails to find the item in the sms or mms
    table and we crash.
    This change makes it so that we're more resilient to this state.
    In other words we don't crash.  The dialog which shows the delivery
    report is somewhat ugly in this case but acceptible in my opinion.
    Change-Id: Ie34c32c83982ff0d506e0102813370e1e7c49a12
    Mark Wagner committed Apr 2, 2010
Commits on Apr 1, 2010
  1. fix race condition unregistering receivers

    bug 2553387
    Change-Id: I43b37c0104bfbe22be81d1f938c4ff66240557bc
    Mark Wagner committed Apr 1, 2010
  2. regex fixes: need to quote the string

    bug 2553520
    Change-Id: I1b3daac42dc60b4cb74ede658ae6ec7f9d0c0ff9
    Mark Wagner committed Apr 1, 2010
Commits on Mar 31, 2010
  1. Mms update due to public API refresh

    bug - 2553862
    Change-Id: I65abbc0b62139efe5f50f74d2bf3a5894136146b
    James Dong committed Mar 31, 2010
Commits on Mar 30, 2010
  1. @kruton

    Merge "Import revised translations" into froyo

    kruton committed with Android (Google) Code Review Mar 30, 2010
  2. @kruton

    Import revised translations

    Change-Id: I84af1167d88e44b9d5282b97eeec41574e4b8f40
    kruton committed Mar 30, 2010
  3. Remove overscroll

    Change-Id: Iab02df7615227480080c411a3526f6297dcc7bf2
    Adam Powell committed Mar 30, 2010
Commits on Mar 25, 2010
  1. @jshuma

    Merge "Migrate Vibrate setting from previous versions if needed"

    jshuma committed with Android (Google) Code Review Mar 25, 2010
  2. @jshuma

    Migrate Vibrate setting from previous versions if needed

    The Vibrate setting was getting properly interpreted
    in MessagingNotification, but this was not visible from the
    preference screen. This change migrates the preference
    when the preference screen is brought up.
    Bug: 2545853
    Change-Id: I00a07b9f60ee4bc6cb21bb4466b31ed175d22c38
    jshuma committed Mar 25, 2010
Commits on Mar 24, 2010
  1. Merge "Fix multi-share"

    Tom Taylor committed with Android (Google) Code Review Mar 24, 2010
  2. Fix multi-share

    When sharing multiple images and/or videos from the gallery, the type
    passed in is */*. The code needs to recognize that type. Bug 2542419.
    Change-Id: I9bf087c117f2ddaf908b4bc670072c7e8520f463
    Tom Taylor committed Mar 24, 2010
  3. catch sqlite exception

    Change-Id: Ie7635fc944d33f9bc45f2fa1726750c1e81639e2
    Mark Wagner committed Mar 24, 2010