Skip to content
Commits on Jan 5, 2012
  1. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Jan 4, 2012
Commits on Dec 22, 2011
  1. More aggressive fix for phone lookup issues.

        Rather than relying on a trailing suffix match on the longer of the
        two numbers (the one from caller ID and the one in the database),
        this first attempts to do the full internationalized-number-aware
        query that we'd normally do, and if no results are returned, falls
        back to a comparison of the trailing 7 digits of each number, as
        we did in Gingerbread.
    
        Also ports in Makoto's fix to the phone lookup tests.
    
        Bug: 5742389
    
    Change-Id: Idda8474337bedaced59916c2b0af87b62b737d83
    Dave Santoro committed Dec 22, 2011
Commits on Dec 14, 2011
  1. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Dec 13, 2011
Commits on Dec 13, 2011
  1. Cherry-pick Fix for GB upgrade issue with phone lookups.

    This is a cherrypick from master for this CL
    Iea81bc4163cb89169946f9a33f9e15b13e8868ad
    
    This just generalizes a fix that Shaopeng had for Brazilian phone
    numbers, in which it was possible that the caller ID number being
    checked was shorter than the normalized number we had stored.  We
    essentially accept a phone number as a match if the shorter of
    either (caller ID, normalized number) is a trailing prefix of the
    other.
    
    Bug: 5638376
    Change-Id: Id61d5295272106a05af14d3c2ce1695eaf2dd372
    Dave Santoro committed with Katherine Kuan Dec 13, 2011
Commits on Nov 30, 2011
  1. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Nov 30, 2011
Commits on Nov 29, 2011
  1. Import revised translations. DO NOT MERGE

    Change-Id: Ie55a58b8c72816799caf1ab8139aa485c8e8f6b5
    Eric Fischer committed Nov 29, 2011
Commits on Nov 28, 2011
  1. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Nov 28, 2011
Commits on Nov 21, 2011
  1. Import revised translations. DO NOT MERGE

    Change-Id: Icf5bb954609b5e27f033f29c5ff263d5748a2303
    Eric Fischer committed Nov 21, 2011
Commits on Nov 17, 2011
  1. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Nov 17, 2011
Commits on Nov 16, 2011
  1. Merge "Fix for arabic crash" into ics-mr1

    Makoto Onuki committed with Android (Google) Code Review Nov 16, 2011
  2. Fix for arabic crash

    Make sure not to localize when using String.format to build SQL.
    
    Bug 5619742
    
    Change-Id: I66fd9c4a50dd6c083099a9def93840ff05aed5a6
    Makoto Onuki committed Nov 15, 2011
Commits on Nov 15, 2011
  1. Fix search for hyphenated names

    This issue was caused by the combination of the fact that we have two
    different imcompatible tokenizers for names, and the fact that our
    name-normalizer ignroes all non-letter and non-digit characters.
    
    Basically, the name tokenizer used to build index uses ' ' as the separator,
    and the one used to tokenize queries use all non-letter, non-digit characters.
    
    Take the name "Double-barrelled" as an example.  The full-text search index
    for this looks like "doublebarrelled", because it's treated as  one token
    (because there's no spaces in it), and the normalzier removes all
    non-letter/digits.
    
    On the other hand, the query term "double-barrelled" will be split into
    "double" "barrelled", and internally it becomes AND-ed prefix matches
    "double* AND barrelled*".  Beacuse "barrelled*" doesn't match "doublebarrelled"
    the query doesn't hit.
    
    So (for now) let's split names with '-' when buidling the index.  With this
    CL the index will be "double barrelled" and the query "double-barrelled"
    (and also "double barrelled") *will* hit this.
    
    Long-term we probably need a better fix.
    
    Bug 5592553
    
    Change-Id: I34bfa8647eec8d203f8ff7fc8a85f42505054c7c
    Makoto Onuki committed Nov 14, 2011
  2. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Nov 15, 2011
  3. Merge "Optimize STREQUENT queries and fix estimated table row counts"…

    … into ics-mr1
    Daniel Lehmann committed with Android (Google) Code Review Nov 14, 2011
  4. Optimize STREQUENT queries and fix estimated table row counts

     - Use id instead of strings for matching mimetypes
     - Use inner LIMIT of 25 to prevent the extra subquery
       (also fixes correctness)
     - Reorder JOIN for data-usage-stat JOIN contacts
     - Defeat sqlite3's "optimization" attempt by using +0 on fields
       from contacts/data <-- This is huge
    
    Bug:5560534
    
    Change-Id: I412d359afe07f32643cc2faef8735b719686741f
    Daniel Lehmann committed Nov 14, 2011
Commits on Nov 14, 2011
  1. Allow the provider to conditionally remove duplicate entries

    Must be after Ie88af0c3d21919ca201f4fcdd46ca09e9f8d94c0, which
    introduced the new flag for duplication removal.
    
    With this change the default behavior for Phone uri will be back
    to the behavior before Ie21abb12736715358dd33bc690269f51ae1e0944
    being introduced.
    
    Bug: 5484956
    Change-Id: I3b6ba3956449520f9e08653fc8beead763a5f8a1
    Daisuke Miyakawa committed Nov 10, 2011
Commits on Nov 9, 2011
  1. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Nov 9, 2011
Commits on Nov 8, 2011
  1. Merge "In Email-lookup query, prefer visible over invisible contacts"…

    … into ics-mr1
    Daniel Lehmann committed with Android (Google) Code Review Nov 8, 2011
  2. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Nov 8, 2011
  3. In Email-lookup query, prefer visible over invisible contacts

    Bug:5578303
    Change-Id: I29beb8ce7ab0745b9f57b399fe017d60fbb96285
    Daniel Lehmann committed Nov 7, 2011
Commits on Nov 6, 2011
  1. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Nov 6, 2011
Commits on Nov 5, 2011
  1. Match contacts if identities match.

    Bug:5237405
    Change-Id: I5def748ecd5ce7d9c847b06b5111217d5d577492
    Daniel Lehmann committed Oct 21, 2011
Commits on Nov 4, 2011
  1. @flerda

    Add support for looking up SIP addresses.

    Current ContactsContract.PhoneLookup only support looking up phone
    number. As a consequence SIP address look-ups are done with a generic,
    expensive ContactsContract.Data query.
    
    This change adds support for doing a SIP address look-up using
    ContactsContract.PhoneLookup by specifying a query parameter.
    
    By doing so, we can do a trivial but crucial optimization: instead of
    matching against the MIME type as a string, we can use the _id of the
    vnd.android.cursor.item/sip_address MIME type in our database. This
    speeds up queries that used to take over 250ms to 1-2ms.
    
    Bug: 5529690
    Change-Id: I15e7ed225927882fc0fd0958b7d2cbfede12c590
    flerda committed Nov 2, 2011
Commits on Nov 3, 2011
  1. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Nov 3, 2011
Commits on Nov 2, 2011
  1. Fix double-close of transactions if yields fail.

    This was causing the exception that caused the failed yield to be
    swallowed instead of propagated, as the second close was failing
    due to lack of a DB lock on the thread.
    
    Bug 5515111
    
    Change-Id: Ic847801655b28301913b07b3929794b3ba16c5ae
    Dave Santoro committed Oct 31, 2011
  2. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Nov 2, 2011
Commits on Nov 1, 2011
  1. Merge "Import revised translations." into ics-mr1

    Eric Fischer committed with Android (Google) Code Review Nov 1, 2011
  2. Import revised translations.

    Change-Id: Ib7832392ca17129129a2df647f22d4c71ea85d3e
    Eric Fischer committed Nov 1, 2011
  3. am 1322df8: Fix extreme slowness in FTS search

    * commit '1322df8f90d80587748ad10539516635326c01e8':
      Fix extreme slowness in FTS search
    Daniel Lehmann committed with Android Git Automerger Nov 1, 2011
Commits on Oct 31, 2011
  1. Fix extreme slowness in FTS search

    Bug:5534735
    Change-Id: I561bcf32d3c66b1a86b36a043d407a725325419d
    Daniel Lehmann committed Oct 31, 2011
Commits on Oct 30, 2011
  1. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Oct 30, 2011
Commits on Oct 27, 2011
  1. Merge "Speed up query for group tab" into ics-mr1

    Makoto Onuki committed with Android (Google) Code Review Oct 27, 2011
  2. Merge "Don't use getInstalledPackages()." into ics-mr1

    Makoto Onuki committed with Android (Google) Code Review Oct 27, 2011
  3. Speed up query for group tab

    - The old query had overhead propotional to the number of groups.
    - The Groups.SUMMARY_WITH_PHONES column is still slow, but we don't use it.
    - We can use the same technique for Groups.SUMMARY_GROUP_COUNT_PER_ACCOUNT.
    
    The only downside is that, we're changing the FROM clause dynamically according
    to the requested column, which is something that we don't usually do.
    Overusing this technique could make code less maintainable...
    
    Bug 5092615
    
    Change-Id: I79b01ae2a232bcd8e3b7186288050fed14a36a72
    Makoto Onuki committed Oct 26, 2011
  4. Don't use getInstalledPackages().

    It's almost same as my previous CL 143783, except this time it uses
    pm.queryContentProviders() to enumerate only packages that have a content
    provider.
    
    It still uses getPackageInfo(), but only on packages with a directory
    provider and there aren't many directory providers around (there are only
    two known ones: Exchange and the googlesync), so it should be okay.
    
    (We could get rid of the getPackageInfo() call but that'd be too big a change
    for MR1.)
    
    Bug 5422702
    
    Change-Id: I67f51f6a770bf1de6779b366017431c36b63815c
    Makoto Onuki committed Oct 19, 2011
Something went wrong with that request. Please try again.