Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Oct 01, 2013

  1. Qingyun Yuan

    ContactsProvider: Fix polyphones in Chinese.

        Merge the resolution for polyphones in Chinese from ShenduOS@d232513, thanks the Shendu OS team.
    
        Patch Set 2:
           Format the code style.
    
    Change-Id: I84d5921ec43502bcfd2a1aefd4cae9fd0600c9d1
    YuanQY authored Gerrit Code Review committed

Sep 24, 2013

  1. ciwrl

    Merge "Revert "contacts: Privacy Guard support"" into cm-10.2

    ciwrl authored Gerrit Code Review committed

Sep 20, 2013

  1. Steve Kondik

    Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/plat…

    …form/packages/providers/ContactsProvider into cm-10.2
    
    Android 4.3 Release 3.1
    cyanogen authored

Sep 09, 2013

  1. maniac103

    Fix IllegalArgumentException.

    Include alternative display name in the phone lookup projection, since
    the BT app needs it. Fixes this backtrace:
    
    D BluetoothPbapObexServer: search by number, requestSize=1 offset=0 searchValue=4436029097
    E DatabaseUtils: Writing exception to parcel
    E DatabaseUtils: java.lang.IllegalArgumentException: Invalid column display_name_alt
    E DatabaseUtils: 	at android.database.sqlite.SQLiteQueryBuilder.computeProjection(SQLiteQueryBuilder.java:632)
    E DatabaseUtils: 	at android.database.sqlite.SQLiteQueryBuilder.buildQuery(SQLiteQueryBuilder.java:447)
    E DatabaseUtils: 	at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:393)
    E DatabaseUtils: 	at com.android.providers.contacts.ContactsProvider2.query(ContactsProvider2.java:6066)
    E DatabaseUtils: 	at com.android.providers.contacts.ContactsProvider2.queryLocal(ContactsProvider2.java:5846)
    E DatabaseUtils: 	at com.android.providers.contacts.ContactsProvider2.queryInternal(ContactsProvider2.java:4810)
    E DatabaseUtils: 	at com.android.providers.contacts.ContactsProvider2.query(ContactsProvider2.java:4773)
    E DatabaseUtils: 	at android.content.ContentProvider$Transport.query(ContentProvider.java:189)
    E DatabaseUtils: 	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:113)
    E DatabaseUtils: 	at android.os.Binder.execTransact(Binder.java:351)
    E DatabaseUtils: 	at dalvik.system.NativeStart.run(Native Method)
    
    Change-Id: I15f531c5b0ea4b0a4a9de864872dd3256667e568
    JIRA:CYAN-2204
    maniac103 authored

Sep 05, 2013

  1. Danesh M

    Revert "contacts: Privacy Guard support"

    Also revert "Use MemoryCursor code in framework."
    
    Change-Id: I278e3e41421693ccb309366a69ff53092e03261e
    Danesh authored

Jul 24, 2013

  1. Ricardo Cerqueira

    Merge tag 'android-4.3_r2.1' into cm-10.2

    Android 4.3 release 2.1
    rmcc authored

Jul 23, 2013

  1. am 44c3d51: am 13d744f: am 466d841: am 8d54a6e: resolved conflicts fo…

    …r merge of b8fb609 to jb-mr1-dev
    
    * commit '44c3d51be8deee28d01e3e3f739a2f6b1fc608fa':
      Do not allow updates to the _data column.
    Chiao Cheng authored Android Git Automerger committed
  2. am 13d744f: am 466d841: am 8d54a6e: resolved conflicts for merge of b…

    …8fb609 to jb-mr1-dev
    
    * commit '13d744f2290a405bf99b1f8114da23668bd15274':
      Do not allow updates to the _data column.
    Chiao Cheng authored Android Git Automerger committed
  3. am 466d841: am 8d54a6e: resolved conflicts for merge of b8fb609 to jb…

    …-mr1-dev
    
    * commit '466d84110ef8f03b91561dd7a778558570e32abb':
      Do not allow updates to the _data column.
    Chiao Cheng authored Android Git Automerger committed
  4. am 8d54a6e: resolved conflicts for merge of b8fb609 to jb-mr1-dev

    * commit '8d54a6e0fa9fb4bb0a2b3b2f36d0e9bf930d05c8':
      Do not allow updates to the _data column.
    Chiao Cheng authored Android Git Automerger committed
  5. resolved conflicts for merge of b8fb609 to jb-mr1-dev

    Change-Id: I336ee0b3f041f83a4b4e2c9973abb73852c2cc6f
    Chiao Cheng authored

Jul 22, 2013

  1. am 284f716: Do not allow updates to the _data column.

    * commit '284f71646d1953f2d78b53e2cdb42cb93e1d9d6f':
      Do not allow updates to the _data column.
    Chiao Cheng authored Android Git Automerger committed

Jul 12, 2013

  1. Do not allow updates to the _data column.

    Fixes a security hole where applications can update the data location of
    voicemail files to point to arbitrary file paths.
    
    Voicemail provider stores the location of the data file in the _data column.
    Applications can update this with an arbitrary file path as long as they
    have the ADD_VOICEMAIL permission.  Then they can subsequently read that
    voicemail and obtain access to the file. This location is generated by the
    provider and does not need to be updated by the applications.
    
    Bug: 9674953
    (cherry picked from commit ab2a24c)
    
    Change-Id: I6c795fe8e283f60f71ebc0e53606383c9fd22e71
    Chiao Cheng authored

Jul 10, 2013

  1. am 4214d57: am 9c842fc: White list file names and do not allow ".."

    * commit '4214d57a4a87dbebc7c937275acc9b54fd718697':
      White list file names and do not allow ".."
    Chiao Cheng authored Android Git Automerger committed
  2. am 9c842fc: White list file names and do not allow ".."

    * commit '9c842fcf486ed5c70ca6db3106349aade27751bf':
      White list file names and do not allow ".."
    Chiao Cheng authored Android Git Automerger committed

Jul 09, 2013

  1. White list file names and do not allow ".."

    Fixes security vulnerability where application can pass in relative file paths
    with ".." in the string to access files outside of the dumpedfiles directory.
    
    Bug: 9607306
    Change-Id: Iad219cb48fa560d837498c2dc75127294dcf401b
    Chiao Cheng authored
  2. White list file names and do not allow ".."

    Fixes security vulnerability where application can pass in relative file paths
    with ".." in the string to access files outside of the dumpedfiles directory.
    
    Bug: 9607306
    Change-Id: Iad219cb48fa560d837498c2dc75127294dcf401b
    Chiao Cheng authored

Jul 07, 2013

  1. maniac103

    Use MemoryCursor code in framework.

    That way, we need to fix bugs only once.
    
    Change-Id: Iae3df411462b7adc12aa09a5ea7ec6f01834ac0d
    maniac103 authored

Jun 18, 2013

  1. Steve Kondik

    contacts: Privacy Guard support

     * If privacy guard is enabled for the calling process, return an empty
       MemoryCursor (with column names populated) instead of the real dataset.
    
    Change-Id: I78b16f3791706636d51785e46a1f2ec656a3c9d2
    cyanogen authored

May 13, 2013

  1. Merge "Fix method not found errors for unit test." into jb-mr2-dev

    Chiao Cheng authored Android (Google) Code Review committed

May 09, 2013

  1. Fix method not found errors for unit test.

    Two methods in MoreDatabaseUtils are no longer used after a recent bug
    fix. But the tests for them are erroring out in userdebug builds because
    proguard is stripping the methods.
    
    Bug: 8894559
    Change-Id: Idc2b4c9fd2fd6b58a3c44e5a40dec1b1c582cd2e
    Chiao Cheng authored
  2. Fix CommitProcessor unittest

    Fix createRawContact() call that was missed in update to call semantics.
    
    Bug:8894174
    Change-Id: Ib52ec9add1c6c829b359d6faebff416b81afca2a
    Jay Shrauner authored

Apr 23, 2013

  1. Fixed issue where some contacts are not added to delete log.

    Contacts with multiple raw contacts were not being inserted into the delete
    log when accounts are removed.  This was due to the raw contacts being removed
    in batch instead of one at a time. The logic to determine whether a contact
    can be deleted was determining whether other raw contacts exist.  This does
    not work when all raw contacts are removed in a single batch.
    
    Added logic to pre-select contacts that will be deleted.
    
    Bug: 8696462
    Change-Id: I95adccf9e6756bbf6ca9dd7d144c1d9ee8905631
    Chiao Cheng authored

Apr 22, 2013

  1. Fix sqlite error when too many bind variables.

    Sqlite has a limit of 999 bind variables by default.  Since there is no risk
    of sql injection in this method, change to building sql by concatentation.
    
    Bug: 8676489
    Change-Id: I9bfea735bb14fd65c84eb4255825b7ad3f5fae71
    Chiao Cheng authored

Apr 18, 2013

  1. Fixing delta api for account removal case.

    Account removal uses a different code path from normal contact deletes.  This
    patch properly adds deleted contacts into the delete log when an account is
    removed.  Also updates contact last updated timestamp for the non-delete case
    when a raw contact is removed from an aggregate contact.
    
    Bug: 8654272
    Change-Id: I05c3ef297e5ad2ca6713e06d0b40206876cf0b9e
    Chiao Cheng authored

Apr 10, 2013

  1. Fix broken build.

    Missed two methods during a refactor.  Updating new class prefixes for them.
    
    Bug: 8182147
    Change-Id: If3476adf043f2192b53bfaa9fc03c8149a181005
    Chiao Cheng authored

Apr 08, 2013

  1. Adding contacts delta api.

    Updates and inserts can be detected through the use of a new timestamp
    field in the contacts table.
    
    Deletes can be detected by querying the new deleted_contacts table.
    
    Bug: 8182147
    Change-Id: I5c1e596f4e1aa58528afc29396f79cb4051e229c
    Chiao Cheng authored

Apr 05, 2013

  1. Merge "Provider side changes for exposing data usage stats" into jb-m…

    …r2-dev
    Yorke Lee authored Android (Google) Code Review committed

Apr 04, 2013

  1. Provider side changes for exposing data usage stats

    Use a uri query parameter to filter for a specific type of data usage,
    otherwise the sum of all the data usage stats for that particular
    data is returned.
    
    Bug 8124079
    
    Change-Id: Iee4c3accb46c9402f0a1659c9b8943c5a219a169
    Yorke Lee authored

Apr 02, 2013

  1. Japanese and Chinese search key fixes

    Change so Pinyin search keys are only generated when in a simplified
    Chinese locale. Fix name style classification of phonetic names.
    Generate Romaji search keys for Japanese phonetic names. Add
    secondary locale labeling for a number of non-Western languages
    (Japanese, Korean, Thai, Arabic, Hebrew, Greek, Cyrillic).
    
    Bug:5356921
    Change-Id: I8c3a6b67d59fbd6b7b16e4e9f69bc30d1d996a75
    Jay Shrauner authored

Mar 28, 2013

  1. Add new apis to CP2

    Add Data.Contactables.CONTENT_URI and CONTENT_FILTER_URI
    Querying against these uris return email addresses and phone numbers
    belonging to all contacts with email/address/names that match the filter
    (if provided).
    Add VISIBLE_CONTACTS_ONLY boolean parameters to Data
    
    Bug: 8123918
    
    Change-Id: I491cb2ff4c64c9d042d5e21cebc5f90d086c70ac
    Yorke Lee authored

Mar 20, 2013

  1. Adding READ_WRITE_ALL_VOICEMAIL to ContactsProvider.

    Bug: 8391996
    Change-Id: Ib3dfcb8e55c5f139f01949af1a54b1dfaa1f66ce
    Kareem Nassar authored

Mar 19, 2013

  1. Using permission ADD_VOICEMAIL in ContactsProvider.

    Bug: 8391996
    Change-Id: Ife73f6d4aeb9291a3df970150b7054cd89e7c8d2
    Kareem Nassar authored

Mar 15, 2013

  1. Add READ_SYNC_SETTINGS permission to ContactsProvider.

    Add READ_SYNC_SETTINGS permission to ContactsProvider. This was getting
    grandfathered on devices which also ship Contacts, but for devices that don't,
    it crashes.
    
    Bug: 8392652
    Change-Id: Ifbafb863f64cf3c9296fc0d7abd37e6270fd206e
    Justin Koh authored

Mar 11, 2013

  1. Merge "Fix unit tests for ICU 51 patches" into jb-mr2-dev

    Jay Shrauner authored Android (Google) Code Review committed
Something went wrong with that request. Please try again.