History log of /frameworks/base/core/java/android/provider/ContactsContract.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
13532bdd2ea63c1b8a5a8d4f95346f3d1e7ecbb5 06-May-2016 Tony Mak <tonymak@google.com> Merge "Fix enterprise contacts APIs naming and docs" into nyc-dev
c8dd93d4c8b3f673c0eb739e8622de4d906b3204 02-May-2016 Renat Aksitov <raksitov@google.com> Voice Messaging Intent API.

Adding missing items about MIME type and account type to the
"integration with the Contacts Provider" section.

Bug 28295510

Change-Id: I890458e62a714519be70e930fd53315c141ba354
/frameworks/base/core/java/android/provider/ContactsContract.java
149a6c90345c475501c1660609ad73f747f612e2 25-Apr-2016 Ricky Wai <rickywai@google.com> Fix enterprise contacts APIs naming and docs

Bug: 28295752
Change-Id: I504af42ab1146c6c82f54773c25450d41445345c
/frameworks/base/core/java/android/provider/ContactsContract.java
935dafeed489ec389c12a3d44ecf22829fe922b6 07-Mar-2016 Tony Mak <tonymak@google.com> Update comment about enterprise contact id and lookup key

Bug: 27146678
Change-Id: I232f96cd9980df6f7a005458d90cd98b990609ee
/frameworks/base/core/java/android/provider/ContactsContract.java
72ddba19a8fb97ac9919fead0b311e7bdcb5d703 21-Feb-2016 Renat Aksitov <raksitov@google.com> Voice Messaging Intent API.

Adding missing items to the "integration with the Contacts Provider" section.

Change-Id: I8ec8bdb356c27fbdb3575bcaf853bb834a8e77d2
/frameworks/base/core/java/android/provider/ContactsContract.java
fd9ec5a6006868905a2a0d97b74c9a2786907536 17-Feb-2016 Tony Mak <tonymak@google.com> [ContactsContract] Add new API PhoneLookup.CONTACT_ID and DATA_ID

It is a mistake that we put contact id in PhoneLookup._ID.
But for SIP query, the contact id is put in Data.CONTACT_ID instead.
For backward-compability issue, we can't revert the change, but to
save developer from having logic like below, PhoneLookup.CONTACT_ID is
introduced.

if (sip) {
get contact id in Data.CONTACT_ID column
} else {
get contact id in PhoneLookup._ID column
}

So for sip query, we put contact id in PhoneLookup.CONTACT_ID.
For other phone lookup query, we put contact id in both PhoneLookup.ID
and PhoneLookup.CONTACT_ID.

BUG:27149017

Change-Id: I4155da29bbacdda0d43164b0ce11c7224a4eee67
/frameworks/base/core/java/android/provider/ContactsContract.java
da072b3e38ff41ee3e8867cc85d0281422a17cb0 05-Feb-2016 Makoto Onuki <omakoto@google.com> Prevent NPE in ContactsContract

Bug 26730982

Change-Id: I36fdfffba79e0696175edd42bb131f92cba47499
/frameworks/base/core/java/android/provider/ContactsContract.java
5012919bc3a75d1de972d29f70ae4a493f3493ed 27-Jan-2016 Renat Aksitov <raksitov@google.com> Merge "Voice Messaging Intent API."
799da391d616685cf011e6a6df34013d9bc536f0 21-Jan-2016 Renat Aksitov <raksitov@google.com> Voice Messaging Intent API.

- New activity action for initiating a message to someone by voice.
The message could be text, audio, video or image(photo). The action
supports messaging with a specific contact regardless of the underlying
messaging protocol used.
- Set of extras to support identification of such contact.

Primary use case for this action is to be originated by the Voice
Assistant as a voice interaction. In such scenario receiving activity
could verify the source and send a message right away, without any
further input from the user. It allows for a smooth user experience when
sending a message by voice.

Bug: 22791113
Change-Id: I86d55af04d13acbc1390938fa6b914990716cb39
/frameworks/base/core/java/android/provider/ContactsContract.java
97bdacc6d124f08a3f1c362fc35a5eed16af9880 21-Jan-2016 Victor Chang <vichang@google.com> Launch managed quick contacts without contact id

set contact id to enterprise base contact id if it's enterprise uri

BUG=26176780

Change-Id: Ie1160bef22d44c90eb4015783fafdafd160bcdd8
/frameworks/base/core/java/android/provider/ContactsContract.java
dc0406d03ead44b42ead998eaf0ba5a0960c2dcc 14-Jan-2016 Victor Chang <vichang@google.com> Add Directory.ENTERPRISE_FILE_URI

Add Directory.ENTERPRISE_FILE_URI to allow access
photo in work-side remote directory

BUG=25981851

Change-Id: I449e0ffcdf9acd6ee9a83d9067f58c41a3e75f02
/frameworks/base/core/java/android/provider/ContactsContract.java
415369ead5d46f4ae85bd7a64a97a0223916cfe5 08-Dec-2015 Tony Mak <tonymak@google.com> Add Email.ENTEPRISE_CONTENT_FILTER_URI

Bug: 26074697

Change-Id: Ie1d595828912edf9d998eb2bcc4ba2f6388030b7
/frameworks/base/core/java/android/provider/ContactsContract.java
ccf15a45cf5d822719f1446e54b856bba9eff717 04-Dec-2015 Ricky Wai <rickywai@google.com> Merge "Change Contacts.CORP_CONTENT_FILTER_URI to enterprise API"
36220e3ed11bc370d91875e9f1cb7d52de09ad8d 04-Dec-2015 Ricky Wai <rickywai@google.com> Merge "Make Work Directory API as Enterprise API"
3d47ceb2205fef5cc064a60691161fdfcc6d9f99 01-Dec-2015 Victor Chang <vichang@google.com> Add ENTERPRISE_CONTENT_FILTER_URI to Callable and Phone

BUG=25899500

Change-Id: Id87ac24d2bed5811398cba6a3d55fb6ce89d8855
/frameworks/base/core/java/android/provider/ContactsContract.java
6b38e067a5d3400d0f70b71961529c0ab64e09f3 27-Nov-2015 Ricky Wai <rickywai@google.com> Change Contacts.CORP_CONTENT_FILTER_URI to enterprise API

Bug: 25797489

Change-Id: I3c2656c70a8a4756e13a15af5985c598aef1bdab
/frameworks/base/core/java/android/provider/ContactsContract.java
28ef5c5834622dfb00edd94a0f9c23e8b961857c 23-Nov-2015 Ricky Wai <rickywai@google.com> Make Work Directory API as Enterprise API

Bug: 25761127
Change-Id: I84e68b4f0c4b1557a0d3764ff48bdeb33bc29787
/frameworks/base/core/java/android/provider/ContactsContract.java
9aa233899f7cf5c1cdf4181412a9e197d83ab1a3 23-Nov-2015 Ricky Wai <rickywai@google.com> Merge "Add work contacts directory support in Quick Contacts API"
494b95d30266335044a854845219b6e34cf43edb 20-Nov-2015 Ricky Wai <rickywai@google.com> Add work contacts directory support in Quick Contacts API

Bug: 25764505

Change-Id: I61f9d13ea03352e3df1686ee4b3bcc43e9a9a760
/frameworks/base/core/java/android/provider/ContactsContract.java
a5efc47723bb5e15a48e638364251f1fbd91d08b 16-Nov-2015 Ricky Wai <rickywai@google.com> Add ContactsContract.Contacts.CORP_CONTENT_FILTER_URI

Bug: 25797489

Change-Id: I0b862c1b179cffd3591e5082d6f9102a070a4053
/frameworks/base/core/java/android/provider/ContactsContract.java
e363121ed444d4ae22cb30d6f16da2dec29faec0 09-Nov-2015 Ricky Wai <rickywai@google.com> Add Work Contacts Directory APIs

Add Work Contacts Directory APIs, so primary profile application can get work directory info.

Bug: 25761127

Change-Id: I0bce6f8153d32e7da883911c5b0af182745e9d40
/frameworks/base/core/java/android/provider/ContactsContract.java
e3739611300234a7e45e060127cda31c64228d4b 10-Aug-2015 Zheng Fu <zhengfu@google.com> Merge "Add constants for metadata_sync_state table."
ae678b8894df49ac4501d879558d12d358030aa2 07-Aug-2015 Zheng Fu <zhengfu@google.com> Add constants for metadata_sync_state table.

Bug:23038060
Change-Id: I54feb1d79b250f42c2262674fe7dd953ad565003
/frameworks/base/core/java/android/provider/ContactsContract.java
2619c5454e556bad584bad502e20bb0a1528b753 03-Aug-2015 Jay Shrauner <shrauner@google.com> Unhide PHONETIC_NAME_STYLE fields

Unhide StructuredName.PHONETIC_NAME_STYLE and
Organization.PHONETIC_NAME_STYLE

Bug:22855713
Change-Id: I69d9085599d93ed1cc29832f70c23965a8d2f0d7
/frameworks/base/core/java/android/provider/ContactsContract.java
08c714b9629ead34af4ec8cace804eaaac51ebcc 17-Jul-2015 Tingting Wang <tingtingw@google.com> am 435d6efc: am cee00433: am b1322a2a: am 6aee4761: am ad359f2e: Merge "Revert "Don\'t display Custom for PHONE_TYPE=CUSTOM part 1."" into mnc-dev

* commit '435d6efc45af19759d5642d91e9532604888e767':
Revert "Don't display Custom for PHONE_TYPE=CUSTOM part 1."
86ac2281437838d1f09a5140543912194151ea1f 16-Jul-2015 Tingting Wang <tingtingw@google.com> Revert "Don't display Custom for PHONE_TYPE=CUSTOM part 1."

This reverts commit d55b348e629d5ae5a2efbba6735be4b30220e50b.

Change-Id: I3e623de725c419489294aed6c3b3aea838fc0f7b
/frameworks/base/core/java/android/provider/ContactsContract.java
7150e1a9e20e1c3b32b759aa13357487930ae9e2 08-Jul-2015 Tingting Wang <tingtingw@google.com> am b8fb1343: am 79f44602: am eeb5b9d0: am 0f4595af: am 4ccf69e1: Merge "Don\'t display Custom for PHONE_TYPE=CUSTOM part 1." into mnc-dev

* commit 'b8fb1343c35fd2d31434357f46c244336ac1d5f1':
Don't display Custom for PHONE_TYPE=CUSTOM part 1.
d55b348e629d5ae5a2efbba6735be4b30220e50b 08-Jul-2015 Tingting Wang <tingtingw@google.com> Don't display Custom for PHONE_TYPE=CUSTOM part 1.

Dialer sometimes creates custom PHONE_TYPE values without
specifying the custom string. In this case, we shouldn't
display "Custom". We should display nothing.

BUG 21900262

Change-Id: I11aff369c76126a3f60f95aa589ae2a8a3e98bb1
/frameworks/base/core/java/android/provider/ContactsContract.java
b96d1f1e6979a91b9e35657cbfbee6acff3330ed 24-Jun-2015 Svetoslav Ganov <svetoslavganov@google.com> am 242c1f33: am 4475dbca: am 2c99ea35: Merge "Remove not needed contacts related permissions." into mnc-dev

* commit '242c1f333431b32445336faed18feb1a90ebd6e4':
Remove not needed contacts related permissions.
6d2c0e5ee2f717d4a5c00df08aca21c76eea8278 23-Jun-2015 Svetoslav Ganov <svetoslavganov@google.com> Remove not needed contacts related permissions.

This reverts commit ed5ff51b2ca7c051e2719dfc8a8a083e6208848e.

Change-Id: If2407e4e474a438d95e1b7ad1aa6f441bb3ace08
/frameworks/base/core/java/android/provider/ContactsContract.java
edfda6a1c8eed3be77b506ca84f045ae22ea465c 23-Jun-2015 Bart Sears <bsears@google.com> am 0623d635: am 2544da4c: am 1ef23ade: Merge "Revert "Remove not needed contacts related perissions."" into mnc-dev

* commit '0623d6359178df8861159f188df7645959866cd8':
Revert "Remove not needed contacts related perissions."
ed5ff51b2ca7c051e2719dfc8a8a083e6208848e 23-Jun-2015 Bart Sears <bsears@google.com> Revert "Remove not needed contacts related perissions."

Broke the build, reverting.

This reverts commit a2991da0d671adf511ccb884cf25bf1241303f92.

Change-Id: I2bdfa70fbd8a6c03e48426f85eeb63896762d5da
/frameworks/base/core/java/android/provider/ContactsContract.java
46e28423030178711bcaa34ebc2ed2a840246ce6 23-Jun-2015 Svet Ganov <svetoslavganov@google.com> am 8bf62c7d: am 477bb484: am 2b5bec93: Merge "Remove not needed contacts related perissions." into mnc-dev

* commit '8bf62c7d0ccda08ae5982d3bbf39b72ba327b2fc':
Remove not needed contacts related perissions.
a2991da0d671adf511ccb884cf25bf1241303f92 22-Jun-2015 Svet Ganov <svetoslavganov@google.com> Remove not needed contacts related perissions.

Removing the read/write profile/social stream permissions as they
are not needed anymore. These permissions are for accessing data
nested in the conacts provider which is already guaded by the
read/write contacts runtime permissions. The removed permissions
would be in the contacts group which means they would not provide
more protection compated to read/write contacts. Also removing
the permissions voids the need for app op support for legacy apps.

Removed deprecated APIs for social streams as these were deprecated
and will go away in the next release. We want apps targeting M to
not be able to compile if still suing these APIs to help with
migration.

Change-Id: I26ed9055847af7f92c78eb0f4ac8f9f1aa616fcd
/frameworks/base/core/java/android/provider/ContactsContract.java
1ed73199953ecd38af5be83c46ff4d3b6a49ffbf 10-Jun-2015 Zheng Fu <zhengfu@google.com> Revert contact metadata_sync constants.

Bug:20553119
Change-Id: Ib6cb620a4b9b72af267423feb6d5c2e5961edf49
/frameworks/base/core/java/android/provider/ContactsContract.java
7997bee366a82d7577ec9caa714c8e84537fcd7b 10-Jun-2015 Zheng Fu <zhengfu@google.com> un-hide raw_contacts.backup_id and expose metadatasync to system.

Bug:18930508
Change-Id: I37eb7ca41416becb549ebe5b1986925952a943c9
/frameworks/base/core/java/android/provider/ContactsContract.java
1c4de6a1a4e0d5182e0ee3fb858b09d0b07f5898 08-Jun-2015 Etan Cohen <etancohen@google.com> am dd8ed093: am 03609df3: am 76316977: Merge "Update documentation of CARRIER_PRESENCE & bitmasks." into mnc-dev

* commit 'dd8ed09397cb3bcbc89b1864543854dc027c68c8':
Update documentation of CARRIER_PRESENCE & bitmasks.
e4dc7e1ac39bb67d27c38076f1e616cac957459f 08-Jun-2015 Etan Cohen <etancohen@google.com> Update documentation of CARRIER_PRESENCE & bitmasks.

Bug: 21572292
Change-Id: If4727e7c18ce94f7c715ac91d61456ff0de10001
/frameworks/base/core/java/android/provider/ContactsContract.java
df336c9064de2ba70a9b97f554d6079c1e4fc7d1 02-Jun-2015 Brian Attwell <brianattwell@google.com> am 6b37b0df: am 03c818b5: am b36ad5dc: Decouple ProviderStatus & internal provider state

* commit '6b37b0df1102f0f7f3336638a68defba197d1910':
Decouple ProviderStatus & internal provider state
b36ad5dc6bb6218aeabca17197001ac0a942219a 29-May-2015 Brian Attwell <brianattwell@google.com> Decouple ProviderStatus & internal provider state

Bug: 21090207
Change-Id: I7e93e36ad0c0d667ac56983c76acb1b97bd8755c
/frameworks/base/core/java/android/provider/ContactsContract.java
e85a3e5458be8ff1e47b5a04b4492eb4d284236c 21-May-2015 Etan Cohen <etancohen@google.com> am 33a95f93: am 14c60bb1: am 466503d0: Merge "Add Carrier Presence to CP2: Phone" into mnc-dev

* commit '33a95f93ca4856032eef804cfe97a798c6df6748':
Add Carrier Presence to CP2: Phone
466503d0bd3a128f6d2f22a8f040d508c1b4854b 20-May-2015 Etan Cohen <etancohen@google.com> Merge "Add Carrier Presence to CP2: Phone" into mnc-dev
05ee17b973f172054e3f7b8183227c7fe22e21ba 20-May-2015 Brian Attwell <brianattwell@google.com> am 258a6b62: am afe2b09c: am 7d383b92: Hide ProviderStatus and Authentication APIs

* commit '258a6b62e6d41e502a85c4753b93a91be5333fb4':
Hide ProviderStatus and Authentication APIs
7d383b9271863d0799889374329a08731fe47550 15-May-2015 Brian Attwell <brianattwell@google.com> Hide ProviderStatus and Authentication APIs

Bug: 21090207
Change-Id: I27b604b9c849e1aad8289c517f5e50c5d0faae0f
/frameworks/base/core/java/android/provider/ContactsContract.java
03583a4ee386526c645a3f6a7c0f966a3ac637cc 04-May-2015 Tingting Wang <tingtingw@google.com> Add metadata_dirty column to ContactsContract.

Add metadata_dirty column to RawContacts table, to indicate
metadata related info has been changed.

BUG 20827851

Change-Id: I45ba90bb44f1d3e66b45facd9a643fc77e876e8a
/frameworks/base/core/java/android/provider/ContactsContract.java
534a65d3b674c8c3b7a1ecae008db3750df52888 01-May-2015 Etan Cohen <etancohen@google.com> Add Carrier Presence to CP2: Phone

Carrier Presence (RCS-based) is required for IMS-based telephony
services: VoLTE, WFC, and VT (Video Telephony). Public API in the
form of Presence column is added to Phone. Initial bit-field is
defined for for VT capability.

Change-Id: Ice78f895acf89a91f7478115e64caeb8d26f5456
/frameworks/base/core/java/android/provider/ContactsContract.java
c37ba12c9b045e3e4e3c3726438b712d76d175bf 24-Apr-2015 Zheng Fu <zhengfu@google.com> Add constants for ContactMetadataProvider.

Bug:20537162
Change-Id: I3febd47a16a440466b0bafe3cec17a6dfa1535e7
/frameworks/base/core/java/android/provider/ContactsContract.java
20f14386b8b3b7171281882961fdb8c32d13ceca 21-Apr-2015 Tingting Wang <tingtingw@google.com> Add MetadataSync table to ContactsContract.

Sync adapter will modify MetadataSync table to cache the metadata_sync
data from server before it is merged into other CP2 tables.

BUG 20055193

Change-Id: I19d31fc19204444432212cc14c9650d41e075648
/frameworks/base/core/java/android/provider/ContactsContract.java
1040da1d4eb99fd2588e4c4d5b08b2e3fc0c7777 19-Mar-2015 Makoto Onuki <omakoto@google.com> Enterprise quick contact 1/2

Now openQuickContact goes thorough DPM. When a lookup URI is build with
a lookup key returned by the enterprise lookup APIs for a corp contact, the
lookup key will have a special prefix. In that case we go through DPM
and have it launch QC on the managed profile, if the policy allows.

For now we use the same DPM policy as enterprise-caller-id to disable this.

Design doc: go/cp2-mnc-enterprise-dd

Bug 19546108

Change-Id: I831a8190ae902ae3b1248cce6df02e3a48f602d2
/frameworks/base/core/java/android/provider/ContactsContract.java
4fd8d4ab2aafe8ed73080408223e8b20a953cfc4 30-Mar-2015 Makoto Onuki <omakoto@google.com> Revert "Enterprise quick contact 1/2"

This reverts commit 75a0882b946df6de4775c9e54ca023ff54f3f678.

Change-Id: Ibe332885824b228bf1b1147d141c9395554ff67f
/frameworks/base/core/java/android/provider/ContactsContract.java
75a0882b946df6de4775c9e54ca023ff54f3f678 19-Mar-2015 Makoto Onuki <omakoto@google.com> Enterprise quick contact 1/2

Now openQuickContact goes thorough DPM. When a lookup URI is build with
a lookup key returned by the enterprise lookup APIs for a corp contact, the
lookup key will have a special prefix. In that case we go through DPM
and have it launch QC on the managed profile, if the policy allows.

For now we use the same DPM policy as enterprise-caller-id to disable this.

Design doc: go/cp2-mnc-enterprise-dd

Bug 19546108

Change-Id: I4840e7fad8a6a60249df07d993d26d03619650d4
/frameworks/base/core/java/android/provider/ContactsContract.java
9aaaa1ebb383b5aeabbdb2afb9956130e6564071 08-Mar-2015 Ricky Wai <rickywai@google.com> Add RawContactsEntity.CORP_CONTENT_URI

Bug: 19551325
Change-Id: I7b2801e4a80ac5da1f1d53e41043657d07874ae6
/frameworks/base/core/java/android/provider/ContactsContract.java
a6baa7748279b6a6d3212c5d7069fc585cc288b8 23-Mar-2015 Jay Shrauner <shrauner@google.com> Merge "Check for empty lookup keys in getLookupUri"
ac1496a1c9d238d068d30b95f1b78aa66775e1db 18-Mar-2015 Ricky Wai <rickywai@google.com> Merge "Add Email.ENTERPRISE_CONTENT_LOOKUP_URI"
323b30e84904533917be8547a8c90783b92d16a9 27-Feb-2015 Ricky Wai <rickywai@google.com> Add Email.ENTERPRISE_CONTENT_LOOKUP_URI

Bug: 19550046
Change-Id: I56d8e5b3817a98e00d1f73555e10ac6b780e511e
/frameworks/base/core/java/android/provider/ContactsContract.java
1ebaff2a4be5b38da73d86befca4c6c08d507162 12-Mar-2015 Jay Shrauner <shrauner@google.com> Check for empty lookup keys in getLookupUri

Bug:19588470
Change-Id: I5379e0b16dbec7692ef86ca8a21b0eae2aa47819
/frameworks/base/core/java/android/provider/ContactsContract.java
73f43da5090b77467b4a7eed30225955f04ab9cc 10-Mar-2015 Ricky Wai <rickywai@google.com> Merge "Add Phone.ENTERPRISE_CONTENT_URI"
643db51d4ec17575e6b830ae064be66f59450fae 05-Mar-2015 Brian Attwell <brianattwell@google.com> Prioritize regular names over phonetic names. P1

Bug: 19587274
Change-Id: I503c0fff6da30b9f1d6b6cbeaedfc4d9314f8a00
/frameworks/base/core/java/android/provider/ContactsContract.java
fa5bbaf6f625ed73797d4dbd9d09baacf622f380 26-Feb-2015 Ricky Wai <rickywai@google.com> Add Phone.ENTERPRISE_CONTENT_URI

Bug: 19550047

Change-Id: I0c780c27913d2c005be4f1ac033cba9a479a0b4f
/frameworks/base/core/java/android/provider/ContactsContract.java
7035f2be61ecf70eea78c147c84fd50c893d107a 26-Feb-2015 Brian Attwell <brianattwell@google.com> QuickContacts can prioritize phone mimetype. Part1

Define the ContactsContract for a new QuickContact extra.
This can be used to tell QuickContacts to prioritize a
given mimetype.

Bug: 18391003
Change-Id: Ie5a93ad9e1919f470a638d4235d91fe337cb5ca3
/frameworks/base/core/java/android/provider/ContactsContract.java
2502f1d4142cdd1e2f09384561b28b71237b3a8b 03-Feb-2015 Brian Attwell <brianattwell@google.com> Merge "Expose EXTRA_MODE"
029e6819aef8762fa6867730d532c46ac8ab2394 03-Feb-2015 Brian Attwell <brianattwell@google.com> Expose EXTRA_MODE

The ability to set EXTRA_MODE values on QuickContact
intents has existed for ages by setting the extraMode
parameter on showQuickContact().

Now we need a way for QuickContactActivity to read the intent.

Bug: 18777272
Change-Id: If5e4aa5757e62e942926a12a36345512d6fb66ca
/frameworks/base/core/java/android/provider/ContactsContract.java
33984429054646fc125a7426e6f02b88715c1c10 02-Feb-2015 Brian Attwell <brianattwell@google.com> Merge "Expose QUERY_PARAMETER_VCARD_NO_PHOTO"
f9fb60a592fb2cc7b68084843648a7bee020eddf 02-Feb-2015 Brian Attwell <brianattwell@google.com> Expose QUERY_PARAMETER_VCARD_NO_PHOTO

QUERY_PARAMETER_VCARD_NO_PHOTO is used to avoid
attaching photos on vcards that get sent over NFC.
Large VCards can't be easily sent over NFC.

I'm deferring writing CTS tests till later.

Bug: 18777272
Change-Id: I6e3a7bf836978023225c709446b9113de05f6cef
/frameworks/base/core/java/android/provider/ContactsContract.java
462c9f50c3e52fb62287830056d5b1346120a233 28-Jan-2015 Brian Attwell <brianattwell@google.com> Remove NAME_VERIFIED. Part 4

Bug: 18777272
Change-Id: I1579a3122b2d45b80de7106a2b9616e323855045
/frameworks/base/core/java/android/provider/ContactsContract.java
6e7c2c7ca533195277cb9665d7d71f984129b0c4 30-Jan-2015 Zheng Fu <zhengfu@google.com> Merge "Add backup_id column to raw_contacts, and hash_id column to data"
63f859b2b703ea9c693e3eb6bf4efdec46a46ecc 27-Jan-2015 Brian Attwell <brianattwell@google.com> Add Insert.EXTRA_{ACCOUNT,DATA_SET} to API. P #1/2

Names are based on recent suggestions from the API council, such as
implemented inside ag/540453.

Bug: 18777272
Change-Id: I17a5b7cb4d4c5a0ba48936a6fc829acaab73f31d
/frameworks/base/core/java/android/provider/ContactsContract.java
9ffad071a9956ba2603475b060f271900a4d2e26 22-Jan-2015 Brian Attwell <brianattwell@google.com> Unhide AggregationSuggestions.Builder

Additional unbundling from ContactsContract.

I'm going to remove all parameter types except name.
None of them have been implemented since they were
defined in ICS.

Bug: 18777272
Change-Id: I5c4066d1e933cc4ab18df06809687ee2b7eac91c
/frameworks/base/core/java/android/provider/ContactsContract.java
9ea9a1375dc1a99e51c3b84c8585cf7b828820a2 07-Jan-2015 Zheng Fu <zhengfu@google.com> Add backup_id column to raw_contacts, and hash_id column to data

Bug: 18930508
Change-Id: I244734720247c8db08129f7f19e6a5e823db1bb4
/frameworks/base/core/java/android/provider/ContactsContract.java
cc4b2f731e7b6c45969413505c687272282f14e2 08-Jan-2015 Brian Attwell <brianattwell@google.com> Ubundle from contacts contract Part 1/3

1. Remove Intents.UI
2. Expose Authority
3. Expose ProviderStatus

Discussion: go/contacts-contact-intent-ui

Bug: 18777272
Change-Id: I9c6125cc30710e4637b38f3785608abb9928d1a2
/frameworks/base/core/java/android/provider/ContactsContract.java
78814623e029e34065dc0c39e8eb65ba5afa8abb 05-Sep-2014 Yorke Lee <yorkelee@google.com> ContactsContract API changes per API review

Bug: 17390425
Change-Id: Ia88fb0235a56becc3ec5a770067856311769a68c
/frameworks/base/core/java/android/provider/ContactsContract.java
0e917336a2e7ad8191988042800f4be443b5c69a 26-Aug-2014 Makoto Onuki <omakoto@google.com> Address API review comments:

- Rename isCorpContactId() to isEnterpriseContactId().
- Update EXTRA_* constant values.
- Update javadoc on NAME_VERIFIED.

Bug 17253963

Change-Id: I1bef3adbb4125b39129c77cca29c4b8089e1f8cc
/frameworks/base/core/java/android/provider/ContactsContract.java
b31c8abdc414b7ee241752072174fb571488f1c5 27-Aug-2014 Yorke Lee <yorkelee@google.com> API changes for ContactsContract

* Hide NAME_VERIFIED
* Add PinnedPositions.pin

Bug: 17253963
Change-Id: I887fb291fa4de8db6859655956a80898d1ee618c
/frameworks/base/core/java/android/provider/ContactsContract.java
9ee66404b73f46c60905cf538dd6c10e90e53970 12-Aug-2014 Brian Attwell <brianattwell@google.com> Compose QC intent with FLAG_ACTIVITY_SINGLE_TOP

Since launchMode=singleTop is broken in the framework.

Bug: 16519102
Change-Id: I136821ab9d4493c51f03332cee1e3924a1bd361b
/frameworks/base/core/java/android/provider/ContactsContract.java
a4aa9dc6148529e7d0a905a54a2485e79e7a0149 04-Aug-2014 Yorke Lee <yorkelee@google.com> Update documentation for ContactCounts

Change-Id: I71262dbe83ffd258954075103ceb4ef5ae70156e
/frameworks/base/core/java/android/provider/ContactsContract.java
94c8761dc56c93324f611e4a513aad1ca2164c26 19-Jul-2014 Yorke Lee <yorkelee@google.com> ContactsContract API changes

* Make ContactCounts an interface
* Improve clarity of ContactCounts documentation
* Add PinnedPositions.undemote method, and hide the method name
constant that is only used for the internal implementation

Bug: 16403306

Change-Id: If8b5cad779293cb9a3b90e698b13481f79b2351f
/frameworks/base/core/java/android/provider/ContactsContract.java
eea3c5d735b33e2ece7f5cdfd2c70ae4e0d5b732 25-Jul-2014 Yorke Lee <yorkelee@google.com> Merge "Update the value of PinnedPositions.UNPINNED to 0" into lmp-dev
7d24679c6cea5d0916fcdfdf629dc2e09707dd42 25-Jul-2014 Yorke Lee <yorkelee@google.com> Update the value of PinnedPositions.UNPINNED to 0

Bug: 16403306
Change-Id: I6ff5a6051694245831db31db9d37ac0793eb0c32
/frameworks/base/core/java/android/provider/ContactsContract.java
6b2dd6337e61379705c59466776a5e96b2e583cd 25-Jul-2014 Paul Soulos <psoulos@google.com> Adds getTypeLabel to ContactsContract Event

Bug: 16550284
Change-Id: Ie95093a2c9bca2b9ba130dea470c8beef94cd659
/frameworks/base/core/java/android/provider/ContactsContract.java
e98a95c156a877213ae1a3e7458ebacebe4a8879 23-Jul-2014 Brian Attwell <brianattwell@google.com> Add PICK_JOIN_CONTACT_ACTION action contact

This ContactsContract change is needed by ag/509090

Bug: 16190113
Change-Id: I0f96286bdf45015148d2e84f7fe7aac5b23e1ba2
/frameworks/base/core/java/android/provider/ContactsContract.java
bdb13c8c07f07d405e74f479068eb972d509cea5 17-Jul-2014 Brian Attwell <brianattwell@google.com> Mark social APIs stream APIs as deprecated

Bug: 14490632
Change-Id: I6b54613514e52f34cfcc37d25493a7ea7d636a86
/frameworks/base/core/java/android/provider/ContactsContract.java
9b34a4e5d1385140fbddde6b35d7c33a1df3ab58 10-Jul-2014 Yorke Lee <yorkelee@google.com> Make ContactPreferences use SharedPreferences instead of System settings (1/5)

* Move constants that originally lived in the framework into ContactsCommon
* Use SharedPreferences instead of System settings to persist preferences
* Use a SharedPreferenceListener to monitor changes instead of a content observer
on system settings
* Move DisplayOrderPreference and SortOrderPreference into ContactsCommon so that
it can be used by Dialer
* Create base DialerSettingsActivity in Dialer, and make GoogleDialerSettingsActivity
extend it
Bug: 16153186

Change-Id: I14edf1e2277441b2d2a8f004b651ebd97bc06aa9
/frameworks/base/core/java/android/provider/ContactsContract.java
80b3ab6a51dfe983c5262b4fb4e0e2de0fccdc8a 10-Jul-2014 Makoto Onuki <omakoto@google.com> Spec change for enterprise lookup

- Stop nulling out most fields.
- Return artificial IDs for corp contacts.
- Add a method to tell if a contact is from the corp profile.

Bug 15779911

Change-Id: I21ab20ad4147b303cd0d49d33b64a38275342dc5
/frameworks/base/core/java/android/provider/ContactsContract.java
95a9cfbf14ebeed68fa3eb95452d031a5e860a5c 09-Jul-2014 Makoto Onuki <omakoto@google.com> Update javadoc

Change-Id: I25b51f59e56b571921bad0b790a74c3c0af1a141
/frameworks/base/core/java/android/provider/ContactsContract.java
521e86f4d77c02405dfc919c7c473ff2cbe17d05 09-Jul-2014 Makoto Onuki <omakoto@google.com> Merge "Add new URI for enterprise caller-id."
31cd6f717e823c96af321fc430bb940e4c06292a 09-Jul-2014 Makoto Onuki <omakoto@google.com> Add new URI for enterprise caller-id.

Bug 15779911

Change-Id: Ic4889ab03343a0e447af830ca383b51ffdcc2c5c
/frameworks/base/core/java/android/provider/ContactsContract.java
6355c8f7fc3f7bb2f3c469faaeca1b38cbe413e8 08-Jul-2014 Yorke Lee <yorkelee@google.com> Rehide some fields in ContactsContract

These fields were supposed to be hidden for L.

Change-Id: If87642f2574eccd7d80fae6f7b0817f777db9cce
/frameworks/base/core/java/android/provider/ContactsContract.java
eaf09493b3f8801efa8abaace1494dd6ac3c54b8 01-Jul-2014 Yorke Lee <yorkelee@google.com> Clean up SearchSnippetColumns API (1/3)

Renamed SearchSnippetColumns to SearchSnippets to be more consistent
with ContactsContract naming conventions (Data, Groups, StatusUpdates, etc).

Fix some stale documentation, add more documentation and examples

Bug: 6948882

Change-Id: I614e8d7506a4a291a57d693043481557c975f7f7
/frameworks/base/core/java/android/provider/ContactsContract.java
8d3700988eb361aa9bfcb82069227d88ecb2dc58 26-Jun-2014 Yorke Lee <yorkelee@google.com> Unhide more ContactsContracts fields

These are needed for unbundling of Dialer/Contacts

Bug: 6948882
Change-Id: I1640387a44608acc9c737bebea9c4f77e774fab1
/frameworks/base/core/java/android/provider/ContactsContract.java
f8aadf3fdec455373b64038464350abee2f25980 24-Jun-2014 Yorke Lee <yorkelee@google.com> Make some fields in ContactsContract.QuickContacts public

Bug: 6948882
Change-Id: Ia7350c98c71ee30793dd24b8acb35f247619ae4d
/frameworks/base/core/java/android/provider/ContactsContract.java
cadbe4ccde15236b415028c4bce1d38b9655ce47 20-Jun-2014 Yorke Lee <yorkelee@google.com> Update PinnedPositions API (2/2)

Remove the now unnecessary UPDATE_API and STAR_WHEN_PINNING fields
Make PinnedPositions public API once more

Bug: 15593967

Change-Id: I5eabee6977b93b5ddbf79ec8c01649f20b02abf1
/frameworks/base/core/java/android/provider/ContactsContract.java
42cdda831ddc3731c2753cac0bdaa7710c78e1c8 20-Jun-2014 Paul Soulos <psoulos@google.com> Adds usage stat columns to Entity

Change-Id: I273675ee85aba49440a494e4ae27e9104ffb2fe0
/frameworks/base/core/java/android/provider/ContactsContract.java
0e040b0ea115dbd218a6fc84f123ddaea885d151 19-Jun-2014 Yorke Lee <yorkelee@google.com> Add UNDEMOTE_METHOD to ContactsContract

Bug: 15593967
Change-Id: I9404107d65a0e6ac5f58dd5dd4b6b5df519ec20f
/frameworks/base/core/java/android/provider/ContactsContract.java
2aa1549f4dd549cc00f7edee22bf37955b8b1fed 17-Jun-2014 Brian Attwell <brianattwell@google.com> Remove FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET

Reasons

1) Now that QC is no longer a modal dialog, it doesn't make sense for
to use FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET. We want QC to stick around
inside the back stack.

2) FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET is deprecated. It now behaves
completely differently than it used to. It now acts the same as
FLAG_ACTIVITY_NEW_DOCUMENT.

Bug: 15693551
Change-Id: Ia22fe04d7a91876061498bf1f098755b54199704
/frameworks/base/core/java/android/provider/ContactsContract.java
b68bf447f67cfedadc88d5e71cb940e5a3227ae9 05-Jun-2014 Yorke Lee <yorkelee@google.com> am d6138017: Merge "API changes per API review for contacts" into lmp-preview-dev

* commit 'd6138017d9d435b176dff424ff75c8e8ea298d06':
API changes per API review for contacts
1ca440b38fe6773ea3a6c5cdf041b0234bc973b9 05-Jun-2014 Yorke Lee <yorkelee@google.com> API changes per API review for contacts

* Improve documentation for REMOVE_DUPLICATE_ENTRIES
* Hide android.provider.ContactsContract.PinnedPositions, it will be
reworked and improved for L.
* Hide android.provider.ContactsContract.Preferences - we will rework
the various apps that are relying on this to use their own preferences
instead
* Remove inheritance of hidden interfaces in android.provider.Contacts

Bug: 15430304
Change-Id: I0f96e8a506083df21023f9b95655f0ce5244bdce
/frameworks/base/core/java/android/provider/ContactsContract.java
f4b284554700527079b884b28ac3b29c1d693cec 28-May-2014 Yorke Lee <yorkelee@google.com> Unhide ContactsCount API

Bug: 6948882
Change-Id: Iae639827ddaeecf105c0377c51e3314d742034f8
/frameworks/base/core/java/android/provider/ContactsContract.java
c5697b9a21539109aff54257edaf24f9d7c3f887 21-Apr-2014 Brian Attwell <brianattwell@google.com> Remove @hide from IN_DEFAULT_DIRECTORY

Ran make update-api

Bug: 13173524
Change-Id: I881f365f12445a7260306b97d3623e174ca9a825
/frameworks/base/core/java/android/provider/ContactsContract.java
2fa85d383d216e1006d4793377cb4a83ae23a5c0 05-Mar-2014 Brian Attwell <brianattwell@google.com> Add IN_DEFAULT_DIRECTORY to contract

I want to expose this flag so that gmail can sort
based on it. Plus, it provides generally useful information.

Bug: 13173524
Change-Id: I93a35f8822b55f97b15e1fbb783110e3674c1622
/frameworks/base/core/java/android/provider/ContactsContract.java
833a9e58ce7d4d9778edf7573a980928284a5a8a 13-Dec-2013 Yorke Lee <yorkelee@google.com> Merge "ContactsContract api changes"
4fc601a650405bfba99bcd40429376113bd9492a 07-Dec-2013 Yorke Lee <yorkelee@google.com> Catch ActivityNotFoundException in quick contacts badge

Bug: 12015287
Change-Id: I2fa5daaa54cc7cc0cad9dee0828d751302cb5be7
/frameworks/base/core/java/android/provider/ContactsContract.java
217d8a79c89222cb411857da9d5cc8f313356110 27-Nov-2013 Yorke Lee <yorkelee@google.com> ContactsContract api changes

Make the following fields in ContactsContract public API:
STREQUENT_PHONE_ONLY
REMOVE_DUPLICATE_ENTRIES
CommonDataKinds.Callable.CONTENT_FILTER_URI
CommonDataKinds.Callable.CONTENT_URI
ContactOptionsColumns.FULL_NAME_STYLE
ContactOptionsColumns.PINNED
Contacts.MULTI_VCARD_URI (and improve documentation)
PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS (and improve documentation)
Preferences.SORT_ORDER_PRIMARY
Preferences.SORT_ORDER_ALTERNATIVE
Preferences.SORT_ORDER
Preferences.DISPLAY_ORDER_PRIMARY
Preferences.DISPLAY_ORDER_ALTERNATIVE
Preferences.DISPLAY_ORDER
PinnedPositions.DEMOTED
PinnedPositions.STAR_WHEN_PINNING
PinnedPositions.UNDEMOTE
PinnedPositions.UNPINNED
PinnedPositions.UPDATE_URI

Change-Id: I1d70654b4a931b88fff7a3a4b5ffc364978c7406
/frameworks/base/core/java/android/provider/ContactsContract.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/provider/ContactsContract.java
3585e1a611166a689fcc31bb4eae1293cdd89b2a 01-Aug-2013 Yorke Lee <yorkelee@google.com> Add DEMOTED and UNDEMOTE TO ContactsContract

Change-Id: I060e9ce7d5de3f32fc55ba619b9a931ef938bd7b
/frameworks/base/core/java/android/provider/ContactsContract.java
6acfa5d567bcee82505d1bd4d039b5fe65411fdd 17-Jul-2013 Yorke Lee <yorkelee@google.com> Add URI and fields for new pinned position API in ContactsContract.

Change-Id: I947e49212750e0042a806d8f16817dc65597f45c
/frameworks/base/core/java/android/provider/ContactsContract.java
31b730a009cf439426a865aa428804912e9d7da0 18-Jun-2013 Chiao Cheng <chiaocheng@google.com> Remove un-used snippetize method from ContactsContract.

Bug: 7896653
Change-Id: I5db6f9a58ce747605f66c681036795cdd3ed5d01
/frameworks/base/core/java/android/provider/ContactsContract.java
d51fc5763d3ce7895e168ace65da4c253b16d57e 22-May-2013 Adam Koch <akoch@google.com> am 3e4ea33f: am 4f6d0cbd: am 7258e6bc: am 1fc7e59b: am 14233ee5: Merge "Doc change: fix minor typo in ContactsContract.RawContacts." into jb-mr1.1-docs

* commit '3e4ea33f087926d9039f7b4428dc967a8e760209':
Doc change: fix minor typo in ContactsContract.RawContacts.
3e4ea33f087926d9039f7b4428dc967a8e760209 22-May-2013 Adam Koch <akoch@google.com> am 4f6d0cbd: am 7258e6bc: am 1fc7e59b: am 14233ee5: Merge "Doc change: fix minor typo in ContactsContract.RawContacts." into jb-mr1.1-docs

* commit '4f6d0cbdd9372754b1b5b112e2b724b3852ac12b':
Doc change: fix minor typo in ContactsContract.RawContacts.
95e5a074480cb938bab2a3a7569ac2ea88b5a5bb 21-May-2013 Adam Koch <akoch@google.com> Doc change: fix minor typo in ContactsContract.RawContacts.

Change-Id: I31dbc85449fa81c9f5ea61fdaa0d4a89cf97cd86
/frameworks/base/core/java/android/provider/ContactsContract.java
2355d13154d50687c0d8d74ea1c0e41ab9d88e7e 21-Mar-2013 Chiao Cheng <chiaocheng@google.com> Adding public api support for finding contact changes.

DeletedContacts holds a log of deleted contacts which will be pruned
after a certain amount of time.

A timestamp field has been added to contacts so clients can query
for changes.

Bug: 8182147
Change-Id: Ic6e56e567892712da3c3941400dfb3ddc565aaac
/frameworks/base/core/java/android/provider/ContactsContract.java
5a53d70428ea1ff4124df7161f9f16ef85e2a134 30-Mar-2013 Yorke Lee <yorkelee@google.com> Update DataUsageStatColumns

No longer expose the usage_type column. Instead, we return the
total number of times the data item was used, across all usage types.

Change-Id: I56bef7f1090405d7d0256d0a1c6ca96b38f923d6
/frameworks/base/core/java/android/provider/ContactsContract.java
eff1151d6c66bb7ab4fcf1a2ce0f92c2770ae886 29-Mar-2013 kmccormick <kmccormick@google.com> am 0de7af1e: am c9c63003: am fd245a2e: am 593c0dbf: am 378d4367: Merge "Doc update: misc fixes" into jb-mr1.1-docs

* commit '0de7af1e18a72a979baa9711e4e980b21cf80255':
Doc update: misc fixes
0de7af1e18a72a979baa9711e4e980b21cf80255 29-Mar-2013 kmccormick <kmccormick@google.com> am c9c63003: am fd245a2e: am 593c0dbf: am 378d4367: Merge "Doc update: misc fixes" into jb-mr1.1-docs

* commit 'c9c63003b2e30c068a1bc9eba7683b75ca272180':
Doc update: misc fixes
50e27c813522e1772e3bd406c5e0d6d7dee14cc0 29-Mar-2013 kmccormick <kmccormick@google.com> Doc update: misc fixes

"Bug: 3424410"

Some of these had already been fixed.

Change-Id: I1d0ab3a8fa51aa308186059db4186e7a7d24e9f8
/frameworks/base/core/java/android/provider/ContactsContract.java
2e73f5b8b7c941e68fec2d763d9455a8d6190e25 27-Mar-2013 Yorke Lee <yorkelee@google.com> Merge "Expose data_usage_stat table in ContactsContract" into jb-mr2-dev
0dc523fa99613d10399eafcf6bf0541a85c2c820 12-Mar-2013 Yorke Lee <yorkelee@google.com> Expose data_usage_stat table in ContactsContract

Bug: 8124079
Change-Id: Ie60e489f08be270b9f3a4866c488a5e0598ceb26
/frameworks/base/core/java/android/provider/ContactsContract.java
4f401ebf14f31f411581588c3e649a00c94a06e7 07-Mar-2013 Yorke Lee <yorkelee@google.com> Add new apis to CP2

Add Data.Contactables.CONTENT_URI and CONTENT_FILTER_URI
Add VISIBLE_CONTACTS_ONLY boolean parameters to Data

Bug: 8123918

Change-Id: I8cef7a66d4ab0b910cba7feb158ec007f318f5a8
/frameworks/base/core/java/android/provider/ContactsContract.java
aebeea4cf39acae833b1b7f27a4c08d3b55dee37 14-Jan-2013 Scott Kennedy <skennedy@google.com> am 5d6d6aab: am 8e45679a: am 026f9191: am 08342698: Merge "docs: Fix a bunch of issues" into jb-mr1-dev

* commit '5d6d6aab255aa17fde979d954c839402837b4243':
docs: Fix a bunch of issues
7ed189e457b16c06b0425bd28aeeb1df5c8ff5b8 12-Jan-2013 Scott Kennedy <skennedy@google.com> docs: Fix a bunch of issues

External tracker 42609
External tracker 42607
External tracker 42604
External tracker 42600
External tracker 42574
External tracker 42450
External tracker 41050
External tracker 40995
External tracker 40970
External tracker 40935
External tracker 40507
External tracker 40481
External tracker 40435
External tracker 40406
External tracker 40297
External tracker 40281
External tracker 39978
External tracker 39929
External tracker 39803
External tracker 39715
External tracker 39441

Change-Id: If4215cef850ba8e4e8df356a68192566806e7914
/frameworks/base/core/java/android/provider/ContactsContract.java
58ed5d748c0b9b64845975ef5844ad313de7c3f6 07-Nov-2012 Kenny Root <kroot@google.com> am 768d9e1a: Merge "Correct executable bit for source files"

* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
Correct executable bit for source files
3a084af2e90849aaa8beb3a610189e3399c63ea0 07-Nov-2012 Kenny Root <kroot@google.com> Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
/frameworks/base/core/java/android/provider/ContactsContract.java
9fc6b8c5b78556d571bfaa9aa0a6a5cc499b2a01 28-Sep-2012 Winson Chung <winsonc@google.com> Fixing crash in QuickContacts. (Bug 7252771)

Change-Id: Ibf304a4c2115f557e0408e345c7714d248fcd35d
/frameworks/base/core/java/android/provider/ContactsContract.java
efba3235fcd5b71e17de13edd4be9819970014a9 28-Sep-2012 Winson Chung <winsonc@google.com> Fixing various QS issues. (Bug 7217102)

- Certain tiles were not updating strings based on configuration changes
- Updating bluetooth icon
- Fixing issue where QuickContacts is not being launched per-user

Change-Id: I5936e856b5454d608f9c7ddb6b81d9b566bb03ea
/frameworks/base/core/java/android/provider/ContactsContract.java
90ddc9040cbea31e2a91e07d216ef2f1bbccc849 12-Sep-2012 Makoto Onuki <omakoto@google.com> A new broadcast action which is sent when profile changes

Adding it as a hidden API for now. Should be made public later.

Bug 7148705

Change-Id: I6f5fbb8048728f355341ecdc6fd0242b45171d56
/frameworks/base/core/java/android/provider/ContactsContract.java
d820c38d21c4c6f931785945a36cc82269f63694 24-Aug-2012 Dianne Hackborn <hackbod@android.com> am 513f68bc: am bfe20d1a: am 8bfba7df: Merge "fix wrong substring"

* commit '513f68bc5a5f15d799f8795392d4861a5704fba1':
fix wrong substring
08bab56f687a354a436925ec44567da434c10cbb 23-Aug-2012 Masanori Ogino <ogino.masanori@sharp.co.jp> fix wrong substring

The tokenOffsets is the offset from trimed contentLine.
But it is used in substring as the offset from un-trimed contentLine.

How to reproduce bug (ICS and before):
1. Add a contact record with name and a phone number (ex. 090-1111-2222)
2. Search by "0" in Contacts app
3. Contacts shows a wrong number something like "0900111102222"

Change-Id: I1e1cb2f3bd135d98e1573a50aa6ddc021af35b9f
/frameworks/base/core/java/android/provider/ContactsContract.java
603af61a7cd49f214743b286520419a3fe460774 07-Aug-2012 Subir Jhanb <subir@google.com> Add a new permission to have access to Gal Provider
BUG:6897999

Change-Id: Ie60963b7f3911b402b971e794178754e1b4f0a43
/frameworks/base/core/java/android/provider/ContactsContract.java
1024de59618d6217beac1fc47866baa3741cc27d 16-Jun-2012 Daniel Lehmann <lehmannd@google.com> Allow restricting the scope of a phone-filter search

This also includes a previous change to current.txt that hasn't been
copied to 16.txt yet

Bug:6662259

Change-Id: Iaab5c38ad56882a1270b5276ba7a399bbb8a49f3
/frameworks/base/core/java/android/provider/ContactsContract.java
bba33cd86ea73fa26f8ed2e8e69c113c5e15272f 26-May-2012 Makoto Onuki <omakoto@google.com> Fix bug 6563184: API compatibility issue with quick contact

Add FLAG_ACTIVITY_NEW_TASK if the starting contentext is not an activity.

Change-Id: I3c03a1acc12798d846c6f321cf46f77a2833172b
/frameworks/base/core/java/android/provider/ContactsContract.java
46891a8f1cc167d0495031ce534321062b34d8c1 26-Apr-2012 Makoto Onuki <omakoto@google.com> Update streamitems javadoc

ACCOUNT_TYPE and ACCOUNT_NAME query parameters were required in API level 15.
We've removed the check for JB, but in order to keep compatibility with HC
apps still need to add those parameters.

Bug 5135278

Change-Id: Ib9b9751c9017c53905047045816a44c5a279fa64
/frameworks/base/core/java/android/provider/ContactsContract.java
e5420e9c980ff3c2a32f385a8bc62df4fd9af745 25-Apr-2012 Makoto Onuki <omakoto@google.com> Clearify javadoc on Phone.NORMALIZED_NUMBER.

This column can be null even if NUMBER isn't.

Change-Id: I74698c7caca87b92aee469b8d343c4d20a78f4fd
/frameworks/base/core/java/android/provider/ContactsContract.java
619ffd70b112ac60f95f520a33a437721ee95f22 24-Apr-2012 Adam Powell <adamp@google.com> Don't launch ACTION_QUICK_CONTACT activities in a new task.

Change-Id: Ib6ea6da88cd8addbc02398c29bb7a0b455b02bda
/frameworks/base/core/java/android/provider/ContactsContract.java
e64d187553cb3fa193b5748b5c99ad85cf9ccba1 14-Apr-2012 Makoto Onuki <omakoto@google.com> Merge "Introduce new URI to clear data usage information"
a1620dc521c338ef6bd2cb8d39548933135ed1fd 13-Apr-2012 Daniel Lehmann <lehmannd@google.com> Depcrecate increment function (should have been done back in ICS)

Change-Id: I5c7d4d80a5d10b6ed2460f6dac30e53cc2714521
/frameworks/base/core/java/android/provider/ContactsContract.java
7ebbfd0f0cd70e9cd4abbd9eccfc068e5959d94c 13-Apr-2012 Makoto Onuki <omakoto@google.com> Introduce new URI to clear data usage information

We were going to piggyback existing DataUsageFeedback.FEEDBACK_URI,
but decided to introduce a new URI for this.

Bug 5475575

Change-Id: I6d467e5342f551142f047aa1b0b3503c5bf9b7fd
/frameworks/base/core/java/android/provider/ContactsContract.java
b0d2299fb031d0bc871ffb07d95646f1cb9405c4 13-Apr-2012 Makoto Onuki <omakoto@google.com> Add documentation about clearing usage stats

Bug 5475575

Change-Id: Idee771a6b29dcd4870090cd1b5c72e126886fb47
/frameworks/base/core/java/android/provider/ContactsContract.java
db919155a87b4adf44874b817838458e04d9d17c 09-Mar-2012 Daniel Lehmann <lehmannd@google.com> Expose NORMALIZED_NUMBER in the API

Bug:6126736
Change-Id: If9dc84150c58d3968de9c6e4f1e54dab6b611dd7
/frameworks/base/core/java/android/provider/ContactsContract.java
26650aef868a47db67c085ca734d9ea14f269d74 18-Nov-2011 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Introduce Callable URI as hidden API"
19352e08528a621c94284acdf2888ba5e6689eb6 14-Nov-2011 Daisuke Miyakawa <dmiyakawa@google.com> Allow ContactsProvider to remove dulicates

Bug: 5484956
Change-Id: Ie88af0c3d21919ca201f4fcdd46ca09e9f8d94c0
/frameworks/base/core/java/android/provider/ContactsContract.java
003924c37afd8f4593b844ff06dbfd84a6fc1a23 05-Nov-2011 Dave Santoro <dsantoro@google.com> Unhide social stream APIs for Contacts.

Bug 5569021

Change-Id: Iba6ad0fb8d1bd4eafd9fbb42c28a332679ade11c
/frameworks/base/core/java/android/provider/ContactsContract.java
52c01c22a53cfd87e36b3c078235600260567c08 02-Nov-2011 Flavio Lerda <flerda@google.com> Add a query parameter to look-up a SIP address.

Currently there is an API to look-up a phone number in the contacts
database but not one to look up a SIP address.

This change adds a query parameter that can be added to the existing
filter URI to search the contacts with SIP addresses.

Bug: 5529690
Change-Id: I71aaf46c7528e7e6eb4160a664f4bdeacfb0581d
/frameworks/base/core/java/android/provider/ContactsContract.java
3d340e70e510258a02dbc458bb7cd8478247ff09 23-Oct-2011 Daisuke Miyakawa <dmiyakawa@google.com> Introduce Callable URI as hidden API

New Phone UI wants both phone numbers and Sip addresses, which are
all "callable" data. This API allows ContactsProvider to return
both as one unified Cursor.

There are a few caveats:

- There's no MIMETYPE for callable, since it is not an actual data
type.
- Each row may require different interpretation for each column.
For example, the meaning of type (data2) would be very different
between Phone and Sip. Caller applications must absorb those minor
differences by themselves (at least for now).

Bug: 5039627
Change-Id: I4729c87ecd11296599ed0313e8ad1f5aeabbd32b
/frameworks/base/core/java/android/provider/ContactsContract.java
e43185e21d343741b1d98d1024db8f9703e78553 11-Oct-2011 Dave Santoro <dsantoro@google.com> Add hidden API for pre-authorizing URIs.

This allows the contacts provider to allow a caller to pre-authorize
a URI for temporary use by another application that would not
otherwise have the special permissions necessary to access it.

Bug 5437453

Change-Id: I3bd7be7c698cac73709c2d305f1723cdcb093ec4
/frameworks/base/core/java/android/provider/ContactsContract.java
0b61f59d77153e7d63a33fc5d47805feb99d918b 04-Oct-2011 Dave Santoro <dsantoro@google.com> Add new permissions for read/write social stream.

This is a manual merge of a change going in to ICS-FactoryROM.

These permissions are needed to separate the (potentially invasive)
access to the user's social stream from the existing read/write
contacts permission.

Per discussion with Android release team, we are also hiding the
stream item API until we figure out a better way to guard the data.

Bug 5406886

Change-Id: I8339d743c3ebe8923c7ee47f2900444efcf82a52
/frameworks/base/core/java/android/provider/ContactsContract.java
4510705b2862dba20e4ccee34641029f699859ac 27-Sep-2011 Scott Main <smain@google.com> docs: fix markup in javadocs
Change-Id: I1f9be842f40c813134fbcd5fdbbead5647fb72e5
/frameworks/base/core/java/android/provider/ContactsContract.java
9fefa3c716e9c8d7dfb6c851c91e37e37732a955 08-Sep-2011 Dave Santoro <dsantoro@google.com> Merge "Add raw entities URI for profiles."
a8f09b0946db9327f1d453cac92987f5e26e5102 08-Sep-2011 Dave Santoro <dsantoro@google.com> Merge "Add data_set for Settings table as well."
2b4d07519e428227c806831b401aa72f9409efa5 08-Sep-2011 Dave Santoro <dsantoro@google.com> Add raw entities URI for profiles.

Bug 5274218

Change-Id: Ifc08e5c2fe4aa3d111cfbe896770a1206fa97bbf
/frameworks/base/core/java/android/provider/ContactsContract.java
7c4479f3c9dfdbfa7ee09d4f05dc054b35b87e98 08-Sep-2011 Dave Santoro <dsantoro@google.com> Add data_set for Settings table as well.

Bug 5156004

Change-Id: Iac0eac2a8a6c3994ba3188e571e39717dcb673e1
/frameworks/base/core/java/android/provider/ContactsContract.java
9fe83f0b54bc98e3e33e00ebdb0f017687395678 03-Sep-2011 Isaac Katzenelson <isaack@android.com> Fix snippetizing cursor

Bug: 5217242 Email address with the found "snippet" highlighted should
be displayed on the second line below the contact name

Change-Id: Id55c31eb83c9b3a9e2ac014409f5dad1561ef655
/frameworks/base/core/java/android/provider/ContactsContract.java
d49eea7831d7386fc429984eee0e8ef117a1d927 30-Aug-2011 Dave Santoro <dsantoro@google.com> Merge "Profile API modifications."
063084e619dcd9f81c410ce675fd21c53b1e940d 24-Aug-2011 Dave Santoro <dsantoro@google.com> Profile API modifications.

This is a set of changes to allow for splitting off the Profile
concept in the Contacts Provider into a separate database:
- Removed the ALLOW_PROFILE parameter, as it is no longer possible
to combine profile data with contacts data in a single query.
- Added profile sync state as a separate table.
- Clarified status update API usage to indicate that profile updates
need to either be done for a specific data ID or using a new
profile-specific URI.
- Added constant and API for determining whether an ID falls within
the profile ID-space.

Bug 5204577

Change-Id: Ia0f8c6b490845100dd6d44e5e01a3b27346f077e
/frameworks/base/core/java/android/provider/ContactsContract.java
ceb476a584e7f0b1866821955ea3284686dd6975 29-Aug-2011 Daniel Lehmann <lehmannd@google.com> Add the lookup_key column, which should have been in the previous CL

Also added some more javadocs

Bug:5134325

Change-Id: I486b753f7cfb622e0211bb7f6bd04eb18b6e1e5b
/frameworks/base/core/java/android/provider/ContactsContract.java
754b394bdfeff697bea73fa0977d2c91ef8c8886 26-Aug-2011 Makoto Onuki <omakoto@google.com> Merge "Define mime-types for stream items"
0d8627be88a1ce4ee5c9076f484afb6006e32900 25-Aug-2011 Daniel Lehmann <lehmannd@google.com> Merge "Add Contact ID to StreamItem-Fields"
1d837232d2b86ecb844c586db76ccf1ddfda4cf0 25-Aug-2011 Katherine Kuan <katherinekuan@google.com> Add DATA_SET value to Entity from EntityIterator cursor

Account name and account type are being retrieved from the
cursor for the contact, but account dataset, which is the
3rd value to uniquely distinguish an account is missing.

Bug: 5210676
Change-Id: I85f93b3fa19839734e4e22928382e0f786ed8ee2
/frameworks/base/core/java/android/provider/ContactsContract.java
e8aae096d8ced8767ef5024e44f91e0342d778ec 25-Aug-2011 Daniel Lehmann <lehmannd@google.com> Add Contact ID to StreamItem-Fields

Bug:5134325

Change-Id: I541c6d1c7ac06abb234985cf056f31b3dee712c2
/frameworks/base/core/java/android/provider/ContactsContract.java
fc6d2fde25ccf00174b7419d91a76b2fc52773ae 22-Aug-2011 Makoto Onuki <omakoto@google.com> Define mime-types for stream items

Bug 5196154
Bug 5195740

Change-Id: Ia414f5e0985ffb167a2651bc985ed67681c28d13
/frameworks/base/core/java/android/provider/ContactsContract.java
4923f1d0d9d45b201dc637be1035b33b6a3c2611 06-Aug-2011 Fred Quintana <fredq@google.com> add the Identity contacts mimetype
Bug: 5061729

Change-Id: Icdc0dd50666463f73b5b05ae1459ae34150153cc
/frameworks/base/core/java/android/provider/ContactsContract.java
f188dfda30cda5df4c7131e7987218c7c20203ab 15-Aug-2011 Daniel Lehmann <lehmannd@google.com> Several API changes as requested by ES:

- Switch from resource ids to names to prevent breakage on package upgrade
Bug:5135277
- Add SYNC1...SYNC4 columns to StreamItems and StreamItemPhotos
Bug:5119385
- Remove ACTION, ACTION_URI from Groups, StreamItems and StreamItemPhotos
(this reduces db size and prevents click intercepting)
Bug:5135808
- Add some raw-contact fields to the StreamItem query
Bug:5134081

Doing those changes in one block to prevent too many db upgrade steps

Change-Id: I5618e210206e0315b91f5883e6b6b386dccb5881
/frameworks/base/core/java/android/provider/ContactsContract.java
1d55c3343d6eb89176fb057233942887466c1b68 26-Jul-2011 Dave Santoro <dsantoro@google.com> Added ACCOUNT_TYPE_AND_DATA_SET pseudo-column.

This was added to simplify some logic in the provider and app, as
there are places that can simply compare the concatenation of the
account type and data set.

Also added a DATA_SET extra for contact creation, to allow for this
value to be passed around via intents.

Bug 5077096

Change-Id: Ia0634cfcf4590fd90ccb5cb99360c38c86f08d25
/frameworks/base/core/java/android/provider/ContactsContract.java
1bfe9a9b02f64cea13a07565e77c0ea006b49928 26-Jul-2011 Makoto Onuki <omakoto@google.com> Merge "Add new contacts intent action for the "invite" feature"
15dec3967efcff339fb14a84b85320ba85ed47f0 23-Jul-2011 Daisuke Miyakawa <dmiyakawa@google.com> Introduce param/column for group count

Bug: 5039532
Change-Id: Ibc604770cb61ca9fd92280e58f1cd1bbf30c216a
/frameworks/base/core/java/android/provider/ContactsContract.java
85a01a6b4609fe6ffc14760b9fadfdad50a0b513 22-Jul-2011 Makoto Onuki <omakoto@google.com> Add new contacts intent action for the "invite" feature

Bug 5061956

Change-Id: Iaf9926108db51adb3a8742130b1f0418186090c2
/frameworks/base/core/java/android/provider/ContactsContract.java
3604bc50207af783562d2f36cdd3f9b964a7cefc 21-Jul-2011 Daisuke Miyakawa <dmiyakawa@google.com> Introduce hidden API Contacts.CONTENT_FREQUENT_URI

Required to support frequent view in Contacts app.

Bug: 5050315
Change-Id: Ia670229e4d3e793446b0a0dce2590e20709ee18c
/frameworks/base/core/java/android/provider/ContactsContract.java
040e6b302cc47afbda9d8d08ac3b02c8192eccab 16-Jul-2011 Dave Santoro <dsantoro@google.com> Updates and fixes for the social stream API.

- Social stream photo updates should use the new photo storage
system instead of storing the image content in BLOBs.
- Package names need to be text, not numbers. The status update
documentation was incorrect.
- Social stream photos will include a URI the caller can open to
get the photo content.
- Removed the max photo bytes from the stream item limit query,
as we'll do appropriate resizing with the photo storage system.

Change-Id: I103ee1340c1a3772ae37add3684b0658c241a49c
/frameworks/base/core/java/android/provider/ContactsContract.java
f5d4652e028c5a8ec3d151521e63c9c9191e9149 15-Jul-2011 Daniel Lehmann <lehmannd@google.com> Use higher resolution in in-call UI if available.

In the process, I created a second overload to the function that returns
the photo to allow returning either the high-res or the thumbnail version

Bug:5033899

Change-Id: I7be257eb54b296445e20561d318a70c382d6ade9
/frameworks/base/core/java/android/provider/ContactsContract.java
b6e5e7a740bf595a1a5d32b28549e5d579a04ee3 14-Jul-2011 Dave Santoro <dsantoro@google.com> Merge "Contacts contract update for display photos."
e6d3d28a6b9a2a15d141ba2d44d7a33bb9c1f04a 14-Jul-2011 Daniel Lehmann <lehmannd@google.com> Allow a sync adapter to provide an OPEN action for a group

Bug:4413120
Change-Id: I17572204dc9fad3406d2505c83586b9dbce177b9
/frameworks/base/core/java/android/provider/ContactsContract.java
a528237b807236bd09f01e915f4519b3c3c430c6 29-Jun-2011 Dave Santoro <dsantoro@google.com> Contacts contract update for display photos.

This adds support for storing larger, hi-res photos in the contacts
system. Thumbnails continue to be stored in the Photo.PHOTO column
as BLOBs, while hi-res versions of the photos are stored in the file
system and referenced via a photo file ID (with metadata stored in
a new table).

See go/large-photo-design for details.

Change-Id: Ie182eaa6a0330e2eca0a732f201f20a91e4dc584
/frameworks/base/core/java/android/provider/ContactsContract.java
d7bdc18f875c4fdd1848aa9b941109acc0f99635 25-Jun-2011 Dave Santoro <dsantoro@google.com> Add data_set column for raw contacts and groups.

This provides a way for multiple sync adapters to exist for a single
account type. Internally, for example, we can use these new columns
to support separate sync adapters (and sourced data) for Focus,
Emerald Sea, and Latitude.

Change-Id: I1b8dfd79e9fb2dfcee6ac6d4adb947093f5c2324
/frameworks/base/core/java/android/provider/ContactsContract.java
9b94fd63fa3cd6d2041858d0b24d57b0e08c25c4 11-Jul-2011 Daniel Lehmann <lehmannd@google.com> Remove restricted white-listing

Commit after provider changes

Bug:4974334
Change-Id: I66bc3c13165ea86725b769c287475dec396841e2
/frameworks/base/core/java/android/provider/ContactsContract.java
d414f108e70766b1a9d6f4e99201f960cfa45310 20-Jun-2011 Dave Santoro <dsantoro@google.com> Contacts contract changes for social updates.

This change adds support for a richer API supporting social status
updates.

The new API supports providing multiple status updates (stream items)
to be associated with a single raw contact, and for multiple photos
(stream item photos) to be associated with each stream item. A
limited number of stream items will be stored - callers can query for
the limit to optimize calls. Any inserts beyond the limit will
result in expiration of the oldest item.

Change-Id: Ib46fdf8864472d4a1be250b9051e7d37ec32c089
/frameworks/base/core/java/android/provider/ContactsContract.java
f468591cafb797a494d09bb0dd6adfcc439e7b8c 25-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Use new usage feedback API in phone app / strequent

Basiaclly two changes included:

- Let CallLog use new data usage feedback API, so that
ContactsProvider2 is able to figure out what type of contact
method is used when a person is contacted.
- introduce phone_only parameter for strequent uri, which enables
Contacts app to obtain a contact list for recently phone-called
contacts.

markAsContacted() isn't used anymore, as nhe new API takes care of
old counters (TIMES_CONTACTED/LAST_TIME_CONTACTED) too.

Bug: 4371572
Change-Id: Ie193bb91ee49b18f4a546a1f52be780bb514301d
/frameworks/base/core/java/android/provider/ContactsContract.java
cb2bb4f70f36e925921b3ca79fc221bcca9a7225 24-Jun-2011 Dave Santoro <dsantoro@google.com> Renamed INCLUDE_PROFILE param to ALLOW_PROFILE.

Also clarified comments to indicate that this is only intended to be used
in list queries.

Bug: 4777097

Change-Id: I3c3e08d796755e2613a94a1e9b6dc2961f4483a3
/frameworks/base/core/java/android/provider/ContactsContract.java
18cc57fb932363f999a71815cbeb4192cba4b468 17-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Add API for auto-complete ranking improvement."
554344ee7444c0d973f0d4ef768f72d33cc8d4fc 15-Jun-2011 Martijn Coenen <maco@google.com> Merge "Added vcard query parameter for not attaching photo."
e0a8aabd795736f16cae4aa1d2a68b95e2f5b30f 15-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Add API for auto-complete ranking improvement.

- primary account (3510087)
- per-method ranking (4371572)

Primary account enables to ContactsProvider to prioritize
email addresses associated with the account.

Per-method ranking enables ContactsProvider to get feedback
from applications about usage per method instead of that per
person.

Both should be available for unbundled applications.

Bug: 3510087
Bug: 4371572
Change-Id: Icb01415317a7dbb6538804181b06bd973af6205c
/frameworks/base/core/java/android/provider/ContactsContract.java
037d3ffa20d4ab933891419d79879869c1d9c125 15-Jun-2011 Martijn Coenen <maco@google.com> Added vcard query parameter for not attaching photo.

Change-Id: Ia4968ba54d00c368240f50fa43bcc647ccf2c199
/frameworks/base/core/java/android/provider/ContactsContract.java
52e3823bd79715a7fada06f1e12d92eb2de39989 14-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Fix commment

Change-Id: I26ea16636356c1473bf8745247b43fa9dac611c3
/frameworks/base/core/java/android/provider/ContactsContract.java
92a1af549899d249c86adf601da8ead3997e0d10 10-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Merge "Add return value spec and fix typo."
63b709d9c691f413b3d3d92740a6e2dc457ee32b 09-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Add return value spec and fix typo.

Bug: 4371572
Change-Id: I4906a8f337dee855ef753e65eb69bdb02b1a0d72
/frameworks/base/core/java/android/provider/ContactsContract.java
432513380e8ea8f4c70853190bfd55a9186407f4 11-May-2011 Dave Santoro <dsantoro@google.com> API modifications to handle profiles in Contacts.

The user's profile is represented as a single Contact, comprised of
Raw Contacts which may be contributed from any accounts the user has on the
system.

Two new permissions have been added: READ_PROFILE and WRITE_PROFILE. These are
required for reading or writing any contact data that is designated as part of
the user's profile.

Contact queries can include the user's profile data by setting the
include_profile URI parameter to 1 (this requires READ_PROFILE access). By
default, the user's profile data will not be included in any Contact queries.

Change-Id: I25616f59622dbb157032c9c435064eb36af6e8e1
/frameworks/base/core/java/android/provider/ContactsContract.java
b2b651f16df3c1e1690056728ce869259abcf75b 07-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Introduces new Contacts API for ranking promotion.

The usage feedback will be used for achieving per-method
(email address, phone number) ranking improvement.

Bug: 4371572
Change-Id: I602c0b83afca674904946f59bbdfc4dca07d46e4
/frameworks/base/core/java/android/provider/ContactsContract.java
54fcd4c81fe5b912f22ff7932cc171d0b1740926 07-Apr-2011 Daisuke Miyakawa <dmiyakawa@google.com> Add params for primary account to ContactsContract

It is intentional to not use "primary_account_name" and
"primary_account_type" here. See Issue 3510087 and 4260119

Bug: 3510087
Bug: 4260119
Change-Id: I2a22be56822226e3ea6b6f2ef23bb77816d0345a
/frameworks/base/core/java/android/provider/ContactsContract.java
dbcdbf21288ddc4e78f24e3363a2db271d069672 24-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Fix javadoc for DisplayNameSources

Bug: 3370212
Change-Id: I13d3ae96b6fcbba6d1ae8a1f06fb971de1f73f81
/frameworks/base/core/java/android/provider/ContactsContract.java
e88b2af80aa97e040757aad0593ef4757975da23 11-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Full text search: removing unused deprecated hidden API.

Change-Id: I8646c4b653703ad15bccd3e6e9041f17776f81b8
/frameworks/base/core/java/android/provider/ContactsContract.java
123653b890df3e18f9921db8144a8119578e0c61 09-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Full text search: new API, deprecating old API.

All of this API, old and new, is hidden for now.

Bug: 2078420
Change-Id: I5895e992aa820fa189321e1859179bfe7ccb71ff
/frameworks/base/core/java/android/provider/ContactsContract.java
817b3f934271115258838d5cc4903ad5a2bef0f3 10-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing field description.

PhoneLookup._ID is the contact id, not the data row id.

Change-Id: I51a308e26b93e178fde43123d0dfcb2b46630d6e
/frameworks/base/core/java/android/provider/ContactsContract.java
4ccf33acbc3d1af1a343af0f1e0f020b9b4eb507 19-Nov-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding IS_READ_ONLY flag to groups

Bug: 3214137

Change-Id: I8acda10e4743888adfed3dfd0a0dd597c945f778
/frameworks/base/core/java/android/provider/ContactsContract.java
37c34861d07da49d5d706730dc7810fbe53df0ca 13-Nov-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding a new provider status

Change-Id: I673f522e41c2b70ba77e1b1d0cd58831657b1c06
/frameworks/base/core/java/android/provider/ContactsContract.java
dd384a7453b61af8b606f8974c20431c545c3800 02-Nov-2010 Daniel Lehmann <lehmannd@google.com> Added missing label and char limits

Change-Id: I950c065dcf965872a541dfc4b55daec045d65d6a
/frameworks/base/core/java/android/provider/ContactsContract.java
1fb39f0ffca314d2fc597e2849decf3e4148713a 28-Oct-2010 Daniel Lehmann <lehmannd@google.com> Add API and strings for the contact-field "Relation"

Bug:3134946
Change-Id: Ic2163abfaf0ca16cbd24ea68cbace5144b688eab
/frameworks/base/core/java/android/provider/ContactsContract.java
cde1ac6006689294dedee5260519dbd3d34971ea 22-Oct-2010 Daniel Lehmann <lehmannd@google.com> Add an extra to allow specifying the account for creation of new contacts

Change-Id: I6bbf1025e35bbc1d2acff747b08c07530bec2b8c
/frameworks/base/core/java/android/provider/ContactsContract.java
beb2178b49e29550a4d2957cff2b602ed8517c6b 21-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Making multi-values extra in contact INSERT intent public.

Change-Id: I27da6278027a8b6a18b8dea756aa4ed8920ec748
/frameworks/base/core/java/android/provider/ContactsContract.java
bb54929f76dab7d64c817df32cfbd353e1ae0be6 19-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding Insert.DATA extra for new/edit contact intents.

This is a way to supply any amount of arbitrary initial
values for the newly created contacts or additional
data for an existing contact.

Change-Id: Iec050cf9177be2ffb115e473dcd43ef37e5bbd5e
/frameworks/base/core/java/android/provider/ContactsContract.java
3a668feec61695c3ffcbf2306d0dc153a97de98b 22-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding PHOTO_URI and PHOTO_THUMBNAIL_URI.

Also adding a Directory feature declaration
of whether it supports photos or not. If not,
we don't have to display blank squares for
the corresponding contacts.

Change-Id: Ie98c11983f0a87dbe7315c2994f2375febeee2fc
/frameworks/base/core/java/android/provider/ContactsContract.java
fcec46b3d4fa08a36e904d7474a73032aa583ccd 16-Sep-2010 David Brown <dab@google.com> resolved conflicts for merge of 9c43fffc to master

Change-Id: I6b5931bae7a9507b006c723db6c0b9589038e05c
747c61535281b4d2958e293e83245a19ba58f6a0 15-Sep-2010 David Brown <dab@google.com> ContactsContract: update SipAddress to be multi-valued

This is step (1) of the device-side changes to deal with SIP addresses
becoming first-class objects in focus.

It'll be multi-valued in focus, so make it multi-valued on the device
(just like Phone, Email, Im, etc.)

Possible types are CUSTOM, HOME, WORK, and OTHER.

Also while I was in there, fixed the typo in "TYPE_MAINDEN_NAME" in the
Nickname class. (I can't remove it, since it's public API, so I added a
new constant with the correct spelling and deprecated the misspelled
one.)

Bug: 3004838

TESTED: on passion:

- Flashed this change onto a device that already had a contact with a
SipAddress, verified that it still shows up fine in the UI.

- Wiped data, rerean SetupWizard and logged in, made sure that SIP
addresses got synced down properly.

- Edited SIP address on the device, made sure it got correctly synced
up to the SIP user-defined field.

Change-Id: I6ecf551b64f87de03a7807e6212297d91f9e3981
/frameworks/base/core/java/android/provider/ContactsContract.java
1ecf551b80d91552fe7e1a56ede8f21bbe99b144 02-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Contacts API clean-up (mostly documentation)

- Fixing column list for the Photo table.
- Fixing column list for the AggregationSuggestions table.
- Allowing CONTENT_LOOKUP_URI to be used with directories:
Data, AggregationSuggestions and Photo.

Change-Id: I3dbcc28df0029e1fcb2140efd2047707a0cdd947
/frameworks/base/core/java/android/provider/ContactsContract.java
5a998dd2301b66fab7ad1daaac3df8088108d8eb 01-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding a parameter to limit the number rows returned

Useful mostly for search queries

Change-Id: I4dadd2cdb110920c4f21b28d57c56b9d1f2ad4ff
/frameworks/base/core/java/android/provider/ContactsContract.java
224744cc72aa7799fb3e5c505123d09d64d4e0c4 31-Aug-2010 Bai Tao <michaelbai@google.com> Store the current country in call log

Change-Id: Ia68f8e0280b89d5993abb2701a3c425a147b51ba
/frameworks/base/core/java/android/provider/ContactsContract.java
93637d3ee7b2346426b315627c8fcaf9b4782f93 27-Aug-2010 David Brown <dab@google.com> am b4298cd8: am 846eb30f: Add SipAddress to ContactsContract.

Merge commit 'b4298cd8ba48db21625a396311e01ed6ad9f516c'

* commit 'b4298cd8ba48db21625a396311e01ed6ad9f516c':
Add SipAddress to ContactsContract.
59024f1697e09ea50d4349e9813d0c101411292b 27-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Unhinding more ContactsContract APIs.

Turns out we need more ContactsContract APIs to
be unhidden in order to support unbundled directories.

Change-Id: If212e769bb32cd6806e39217935d189f9d43ea67
/frameworks/base/core/java/android/provider/ContactsContract.java
846eb30f78a9153102c743c2c1b49de1a4079fb1 24-Aug-2010 David Brown <dab@google.com> Add SipAddress to ContactsContract.

This is a new data kind representing a SIP address for a contact.
The new class is ContactsContract.CommonDataKinds.SipAddress,
and the new mime type is "vnd.android.cursor.item/sip_address".

It's pretty generic right now (basically a single text field, like
"Website") but we may eventually want to extend it later to have multiple
labels+types (like phone numbers.)

Bug: 2942998

Change-Id: I45d90a680a3badf60bccb5aafdc2397037494e95
/frameworks/base/core/java/android/provider/ContactsContract.java
13e0357ec1d816860a7ca16fd304194b7f7ab818 20-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Fixing the SDK build

Change-Id: I84cee32bf6d7395e7d6a366fb0b582b73637d18c
/frameworks/base/core/java/android/provider/ContactsContract.java
e50ed08afc1ee80409d471753bb6c0930feae999 18-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Unhiding Contact Directory APIs

These APIs need to be public to allow integration
with Focus, which is unbundled.

The design document can be found here: http://goto/android-gal-integration

Change-Id: I14e749e485e301e8af5a657cc798e581dec21394
/frameworks/base/core/java/android/provider/ContactsContract.java
b332747ee087d2baa5c54b3382e57ad435158737 14-Aug-2010 Daniel Lehmann <lehmannd@google.com> Update flags to be consistent with GTalk's

Change-Id: Ibaa6cdc110316139ef0e2fe2fb95b864d28dfb25
/frameworks/base/core/java/android/provider/ContactsContract.java
44730c2e63dd0182263b3645f537f4c3d8b7efc2 12-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding query-based aggregation suggestions

So far we have only been able to produce aggregation
suggestions for contacts that have been saved.
This new API allows us to search for aggregation
suggestions based on the data entered by the user
without saving it first.

Change-Id: I29b3c70fbeb0ff0ce298183284648ad09373fa0f
/frameworks/base/core/java/android/provider/ContactsContract.java
2ef9d2538f71e0b40565111f2f4ffd096e2b05a3 05-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Changing the protocol for Directory registration.

Change-Id: I1ba51d4198617121a9a5f86d22e91dfa9917c94b
/frameworks/base/core/java/android/provider/ContactsContract.java
b2ce481c81414489c26bb59304a7705d9ef19573 30-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding a lookup URI to simplify loading of a contact

This will be initially used by the editor to load
the entire contacts in a consistent manner either
locally or from a Directory.

Change-Id: I0e02b1b35cbbb3c4443063684641c928e5ac5318
/frameworks/base/core/java/android/provider/ContactsContract.java
156add957525746a4f7a430a6ba0cff8d1342339 20-Jul-2010 Daniel Lehmann <lehmannd@google.com> Replace try-catch code by proper type checking. Saves an exception for each blob.

Change-Id: I208ed0acb754391bd44b52887792563e92b39011
/frameworks/base/core/java/android/provider/ContactsContract.java
345f39a8a35d2df6274441c0e75e24efd375fb55 20-Jul-2010 Vasu Nori <vnori@google.com> fix javadoc error which breaks SDK build in gingerbread

Change-Id: I01b90c71e7088f385a73f51144063a2fbe5d466b
/frameworks/base/core/java/android/provider/ContactsContract.java
fb5bccf229b52803649c70780e706c063e835447 19-Jul-2010 Vasu Nori <vnori@google.com> fix javadoc error

Change-Id: I387e2807af2ea6299a976e0763e6ad6f264543fe
/frameworks/base/core/java/android/provider/ContactsContract.java
df4606962788de5903a565e68a1a37590d0ab76b 18-Jul-2010 Vasu Nori <vnori@google.com> am bbc2b4e6: am 5b31498b: add video/audio chat-compatibility modes to ContactsContract

Merge commit 'bbc2b4e69a1788987a8fe959cc0105290b431283'

* commit 'bbc2b4e69a1788987a8fe959cc0105290b431283':
add video/audio chat-compatibility modes to ContactsContract
5b31498ba1f9874f395d80152304512fa4c0144d 13-Jul-2010 Vasu Nori <vnori@google.com> add video/audio chat-compatibility modes to ContactsContract

Change-Id: Ic0b04017ad4216f1a1c5f07fa9d27e6970ded931
/frameworks/base/core/java/android/provider/ContactsContract.java
86fe839284277eeab5cb4272392bd004822edec8 16-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Resolving a field naming conflict caused by the table join.

Change-Id: I6f3293fb9aceebea7df9677eb1e6ebc199383e99
/frameworks/base/core/java/android/provider/ContactsContract.java
e270c51ea413df35c27c8e995c7c9773ee0e5174 16-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Hiding new API

Change-Id: Ie6a108442416fdb27229ff274b631e6f4a6c2370
/frameworks/base/core/java/android/provider/ContactsContract.java
30b7be333f4b1e7f14bee32a6fdd42c68ca11450 16-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding more feature declarations to Directory API.

Change-Id: Iabec8c4dcbd69212285a6eb9be9db7ebb1b712ed
/frameworks/base/core/java/android/provider/ContactsContract.java
a7f2f369dae3c836cd4b960d48a3cc988952d9b2 21-May-2010 Dmitri Plotnikov <dplotnikov@google.com> Contact directory (GAL) API proposal.

Change-Id: I8db639c32b643d068e76350568f6067095365d71
/frameworks/base/core/java/android/provider/ContactsContract.java
a31a945ba6ec41f6c5278c44a545e2254f4cd034 13-Apr-2010 Fred Quintana <fredq@google.com> move favorites and my contacts group handling to the
provider and sync adapter

Change-Id: I768d7407a42a72b24ece8abb1891d050c8b6760e
/frameworks/base/core/java/android/provider/ContactsContract.java
fc7838b45c4d38efd5835e55fcc9d5517015f274 21-Jan-2010 Bai Tao <michaelbai@google.com> Add the hidden ACTION_GET_MULTIPLE_PHONES and EXTRA_PHONE_URIS:
a. Add the ACTION_GET_MULTIPLE_PHONES which will launch the contacts with multiple picker mode, and user can selected the multiple phones in the list of phone numbers.
b. Add the EXTRA_PHONE_URIS which works with ACTION_PICK_MULTIPLE to specify the phone numbers should be selected by default when it is used as input or store the list of selected phone numbers when returnning from the activity.

Change-Id: Icacae0ab9fc0f5e90aa28796fac55528df5324d5
/frameworks/base/core/java/android/provider/ContactsContract.java
63e914096ebfc767dc764519e41a2f4d8e578791 12-Mar-2010 Daniel Lehmann <lehmannd@google.com> Framework changes to allow VCards containing multiple entries
Bug:2501468

Change-Id: I004997c6ed9351e2600e7446615af9e60a14fda8
/frameworks/base/core/java/android/provider/ContactsContract.java
4a8a310aae4280cd54957e75fcece592601d6625 09-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> New (hidden) API for ContactsProvider status.

Bug: 2498528
Change-Id: I95ab8b68c3d3caa5698e79c60ccb9794091e8b8a
/frameworks/base/core/java/android/provider/ContactsContract.java
0b0b8a8dae45e6f35d05da9c0d70c62cdf23fb20 05-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding a mime type for the phone lookup URI.

Bug: 2486764
Change-Id: I0077fff8af0044efc4c5322816768073636e072f
/frameworks/base/core/java/android/provider/ContactsContract.java
da2572ad75c3f0815b45d00fb222b04e2c3a8d22 26-Feb-2010 Dmitri Plotnikov <dplotnikov@google.com> Renaming contact search snippet fields.

Change-Id: If27271665aedbb125072bbcd0cf375846c38cc9f
/frameworks/base/core/java/android/provider/ContactsContract.java
3ba8a3b39bb5eb91a1b5c85c073c03e264b1736b 25-Feb-2010 Dmitri Plotnikov <dplotnikov@google.com> Introducing tentative (and hidden) API for contact search snippets

Bug: 2447965
Change-Id: I0608ca7a644f004613742f4680a5a9fd3325554a
/frameworks/base/core/java/android/provider/ContactsContract.java
53de90462b1f9b5390a80d5ff6a1522293e1b3d6 17-Feb-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding support for "contact counts grouped by the first letter
of the sort key".

This is needed for two purposes:
1. To fix the A-Z index, specifically non-English ones and
address the issue of messed up index when sort order does not match
display order.

2. Take the first step toward the introduction of a scrolling
cursor. When we have a scrolling cursor, we will _have_ to
build the index independently of fetching all of the data.

Bug: 2407129
Change-Id: Ie2979ff8e67446329ea6d1c2f5c9f4f215e6ec89
/frameworks/base/core/java/android/provider/ContactsContract.java
2a650dd574a5e2871f51863e2446fbebc47dc0f8 27-Jan-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding system preferences for contacts: sort order and display order.

We are using the system settings provider, but the preference
UI is in the Contacts app for now.

Change-Id: Iad840d131a4eb13bb745643b3c4b0234889d1202
/frameworks/base/core/java/android/provider/ContactsContract.java
918007b75539f5eabfd173a369c2da628c607ba7 20-Jan-2010 Dmitri Plotnikov <dplotnikov@google.com> Introducing the notion of "verified name" on a raw contact.

This flag can be set by a sync adapter if it is certain that the
name is correct (a social network sync adapter would be a good example
of this). It can also be explicitly set by the user in the Contact
Edit UI.

Bug: 2164422
Change-Id: Id46e04c28eeb0dc386adfc6ad8988dda50824e2b
/frameworks/base/core/java/android/provider/ContactsContract.java
a351496c6048db4b4b8272e721414189c3412732 19-Jan-2010 Tom O'Neill <tomo@google.com> Get rid of a TODO to add documentation for now-hidden columns

Sorry, looks like I forgot to delete it in my previous CL

Change-Id: I46be98f383594654aff5a884e72505878ded3d90
/frameworks/base/core/java/android/provider/ContactsContract.java
093a8700056394ebd122ecf9d39eec7d70e1764a 16-Jan-2010 Tom O'Neill <tomo@google.com> Find out whether we should mention behavior specific to our own provider

Change-Id: Ia5d90969d72e99c8fb7f12f1c536f5e1856c59d2
/frameworks/base/core/java/android/provider/ContactsContract.java
7d92d5af18e814c3a47e5d5081ac474c67f8d177 15-Jan-2010 Tom O'Neill <tomo@google.com> Revert a couple of deprecations to fix broken build

Will re-deprecate in a subsequent CL

Change-Id: Ibc246e2e26a68880f3fba3aff3407404f5a57ce3
/frameworks/base/core/java/android/provider/ContactsContract.java
d6f9cd2cee96e9503f74081f98b0a6c6ef5b6b06 15-Jan-2010 Tom O'Neill <tomo@google.com> Improve ContractsContract.RawContacts documentation

Also, a couple of changes for ContactsContract itself.

Change-Id: Ie16024c8bfeac97cfadcc69fa82b46828ef3953d
/frameworks/base/core/java/android/provider/ContactsContract.java
244327e2097df053b1818c79bcb84ae9e4f3af76 08-Jan-2010 Tom O'Neill <tomo@google.com> Improve ContactsContract documentation, esp. of Data inner class

Provide some missing javadoc, make some things a little more explicit, etc.

Change-Id: Ibcdeaa10c641436009a3494b18cecae6f816b75e
/frameworks/base/core/java/android/provider/ContactsContract.java
1c819a5e3e7ba7499589e798a5f971263cf3c65b 07-Jan-2010 Dirk Dougherty <ddougherty@google.com> am 5f6002ec: am d71c2aa1: Merge "SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files." into eclair

Merge commit '5f6002ec5f52ed164b591cf4b267fe771a81731f'

* commit '5f6002ec5f52ed164b591cf4b267fe771a81731f':
SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files.
4e7db256878bbf2058fa7d1bf07ddbe1c7206103 06-Jan-2010 Dirk Dougherty <ddougherty@google.com> SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files.

Bug: 2160782
Change-Id: I537194ecddc53d4f0e8456ce958ae8db6f521593
/frameworks/base/core/java/android/provider/ContactsContract.java
223bd7af9832971075ba9fd9b0e41b7d693bd791 21-Dec-2009 Jeff Sharkey <jsharkey@android.com> Fix javadoc reference to ContactsContract.Contacts.
/frameworks/base/core/java/android/provider/ContactsContract.java
a503f6f7cf09c64bde708e3bcfb7103378ddfcff 09-Dec-2009 Jeff Sharkey <jsharkey@android.com> Adjust for compatibility mode before setSourceBounds().

When invoked from an anyDensity="false" or pre-Donut app,
View.getLocationOnScreen() returns values in compatibility
mode. This change fixes QuickContact and RemoteViews to
always adjust based on CompatibilityInfo.applicationScale.

Also deprecates an extra previously being used to pass
Rect for QuickContact windows.

Fixes http://b/2306495
/frameworks/base/core/java/android/provider/ContactsContract.java
b4413fa3c6e8ce788c7a924cabacb2943946267b 18-Dec-2009 Dmitri Plotnikov <dplotnikov@google.com> Clean-up of naming of the new Contact/Name columns

Change-Id: I52316b365c4299dddbfb2972459a37893413bd8b
/frameworks/base/core/java/android/provider/ContactsContract.java
f3960b1271c65d64f9836894af600948bd804e7c 21-Nov-2009 Jeff Hamilton <jham@android.com> Remove the IM provider contract class.

Change-Id: Ia644689021aca3e429d42727dfd6262b6986dfd2
/frameworks/base/core/java/android/provider/ContactsContract.java
3170f9a7cf32d6935e6c468e907f9b5427ebadbc 15-Dec-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing broken javadoc.

Change-Id: Ic5206054281919888943d036d9f6772ea2e63c5b
/frameworks/base/core/java/android/provider/ContactsContract.java
07ab85b338d6e08a901a13230ae4cedc57e418ea 15-Dec-2009 Dmitri Plotnikov <dplotnikov@google.com> Introducing fields for capturing national specifics of contact names.

Change-Id: Ia848390b9a74c5eb1a5a45a0b909a40307beb9ab
/frameworks/base/core/java/android/provider/ContactsContract.java
274dc9d35fdf5d0464f74071a9a8f14e497d4d5f 11-Dec-2009 Fred Quintana <fredq@google.com> moved the hidden sync helpers out of the framework
/frameworks/base/core/java/android/provider/ContactsContract.java
930ab3d955a40c1de167b7142215af37f9f9bfe4 11-Dec-2009 Ken Shirriff <kens@google.com> Fix broken sdk build.

Fix link in javadoc.
/frameworks/base/core/java/android/provider/ContactsContract.java
328c0e7986aa6bb7752ec6de3da9c999920bb55f 07-Dec-2009 Fred Quintana <fredq@google.com> - removed the concept of Entity from the ContentProvider APIs
- removed the parcelling ability from Entity and EntityIterator and made them public
- added an EntityIterator abstract implementation that allow easy wrapping of a Cursor
- changed the VCard code to use the new APIs
/frameworks/base/core/java/android/provider/ContactsContract.java
780211a9a792dcc4cd57df0a4e8da34d05eb99f1 03-Dec-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing broken build

Change-Id: Iead6eb44261c2415731bc8cfec53fc48c4c13fa8
/frameworks/base/core/java/android/provider/ContactsContract.java
9618608708694e078da7a567c460d3ce0154ba6f 01-Dec-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding NAME_RAW_CONTACT_ID column to Contacts.

Change-Id: Icae1a99017a2165c30c7c78b7de77e39a73743b4
/frameworks/base/core/java/android/provider/ContactsContract.java
dbe449e5220f4064f052532b425027f1487e9460 12-Nov-2009 Dmitri Plotnikov <dplotnikov@google.com> New Javadoc for ContactsContract.

Change-Id: Ifcf20541fda7449f1954f2021c53be3eb672e7ee
/frameworks/base/core/java/android/provider/ContactsContract.java
fe4c8715c02a8b723c56e3e48ededa657c9ab6a6 14-Oct-2009 Dmitri Plotnikov <dplotnikov@google.com> Making new Contacts APIs visible in Eclair SDK - Part II

Bug: http://b/2186595
Change-Id: Id87533c25cceb0fe3b0845aed10912c937679f45
/frameworks/base/core/java/android/provider/ContactsContract.java
6e144ad885f6cc3f090616a7ad4911d093049ad1 14-Oct-2009 Dmitri Plotnikov <dplotnikov@google.com> Making new Contacts APIs visible in Eclair SDK

Bug: http://b/2186595

Change-Id: Iaba8514276299504af6ab0714577eb37d9608237
/frameworks/base/core/java/android/provider/ContactsContract.java
5bba632d877c2878384ff21566c8eb6a1a22f37b 05-Oct-2009 Fred Quintana <fredq@google.com> - hide Entity and all its references
- remove updateEntity and insertEntity, since they are not
used
- add the RawContacts.Entity class, which is used in lieu of the
android.content.Entity
/frameworks/base/core/java/android/provider/ContactsContract.java
c00099ef62fc496429d0a06e580b600f61304f9c 01-Oct-2009 Jeff Sharkey <jsharkey@android.com> Change intent flags for launching FastTrack.
/frameworks/base/core/java/android/provider/ContactsContract.java
772722e4b7c3ce0e478528f7bc96c0458cf2869a 01-Oct-2009 Evan Millar <emillar@google.com> Fix docs error

Change-Id: I7a39c5643cf6351bac47ccafff37fd32a668b9f5
/frameworks/base/core/java/android/provider/ContactsContract.java
5042f7eae6baa6fa4f93248361e94eeb6894f90f 01-Oct-2009 Evan Millar <emillar@google.com> Unhide ContactsContract#QuickContact and fix sdk build

Change-Id: I60fdeb6d0625996d76a10f0a623c9f474337758d
/frameworks/base/core/java/android/provider/ContactsContract.java
c868acf442a69429056a574c67a5e0187e2b9536 01-Oct-2009 Fred Quintana <fredq@google.com> show events in the UI
/frameworks/base/core/java/android/provider/ContactsContract.java
e3ec9977bbfbdd6659cf27c7341f4c1c826f2209 01-Oct-2009 Evan Millar <emillar@google.com> FastTrack->QuickContact

Change-Id: I98f2db38e6402bdbe47b941d82c8f33863d1863e
/frameworks/base/core/java/android/provider/ContactsContract.java
cf1e2f98d16d5c0f83c3ff26d8eb306ead99722a 30-Sep-2009 Megha Joshi <mjoshi@google.com> Adds Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET to launch fasttrack intent.

Fixes 2137624
/frameworks/base/core/java/android/provider/ContactsContract.java
49da15f34daa314c392b36ac346ac8a2d9f177d4 29-Sep-2009 Evan Millar <emillar@google.com> Add REQUESTING_PACKAGE_PARAM_KEY.

Change-Id: Iae12c7f029b8efd1811d99d24df9281a8f9a2446
/frameworks/base/core/java/android/provider/ContactsContract.java
8f76734d1e9a21618ad9762c0716ee93f60902ec 29-Sep-2009 Jeff Sharkey <jsharkey@android.com> Fix docs breakage.
/frameworks/base/core/java/android/provider/ContactsContract.java
ff18bbf83562b8a827a37c19cdc27e520786119e 28-Sep-2009 Jeff Sharkey <jsharkey@android.com> Separate API for vCards through openAssetFileDescriptor().

Previously we overloaded Contacts.CONTENT_URI to return
vCard-formatted Contacts entries. To fix http://b/2138790
this is a separate API that returns a well-known MIME-type.

Also helps fix http://b/2078399 by adding OFFICE_LOCATION.
/frameworks/base/core/java/android/provider/ContactsContract.java
f2e0d7bb788ff04ebbe1ece2ecb806cbcf66fffd 28-Sep-2009 Daisuke Miyakawa <dmiyakawa@google.com> Three changes.

- Add FOR_EXPORT_ONLY to Data column.
- Make VCardComposer use Contacts instead of RawContacts.
- Make VCardComposer honor FOR_CONTACT_ONLY regardless of
the intention of any caller, which makes composer unable to
compose any contact with "is_restricted" flag, which is unseen
from outside the contacts provider.

Internal Issue number: 2147248, 2143207
/frameworks/base/core/java/android/provider/ContactsContract.java
a60479d2ea7857455ebad6c56e357d00b0492364 28-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing broken javadoc.

Was linking to a hidden interface.

Change-Id: Iff48cb97ed4078b2b91bade9a47d7afc5d7891bf
/frameworks/base/core/java/android/provider/ContactsContract.java
879664e3e2e0169aba53d88f6c30c8b15858315d 27-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding columns to support attribution of status updates. Also renaming some columns to better describe their purpose.

Change-Id: If6d7812f38a3cfd662a5ae2387c72c4761fdf9fa
/frameworks/base/core/java/android/provider/ContactsContract.java
057018399c7ce6d3893ee5fc622f1592f51773b9 26-Sep-2009 Jeff Sharkey <jsharkey@android.com> Remove query parameters for delaying group updates.

Callers should instead use applyBatch(), which now delays
any visible updates until the transation finishes. This
partially fixes http://b/2075275
/frameworks/base/core/java/android/provider/ContactsContract.java
f5808415263d687eb125535e04ba374e33b785da 25-Sep-2009 Fred Quintana <fredq@google.com> rename misc to birthday
/frameworks/base/core/java/android/provider/ContactsContract.java
531e580ab160864e4152f431eaeb965676c58d19 24-Sep-2009 Fred Quintana <fredq@google.com> remove the incorrectly located nickname
/frameworks/base/core/java/android/provider/ContactsContract.java
6938bb36b8992420ec5cb392706a8bc192b332c1 24-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing the broken build

Change-Id: Ie7b722f2e71b51d180c95cf0d4bdbf4975e1a2be
/frameworks/base/core/java/android/provider/ContactsContract.java
f22fc124ff7974d0b6380199f7d53e66bb7feb29 22-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding timestamp and account to contact-level presence columns.

Change-Id: I1ff4f4f5ef9b3b0deb9df3d0689ff39b4b2fd84b
/frameworks/base/core/java/android/provider/ContactsContract.java
f852698cc3bd40c7a54317a711360bae2606cd2d 24-Sep-2009 Jeff Hamilton <jham@android.com> Make the new ContactsContract APIs public.

Also, squelch warnings that were caused by the
deprecation of the old Contacts APIs.

Change-Id: I91d2804de4b653003cd5504ff0f770c01a6332ef
/frameworks/base/core/java/android/provider/ContactsContract.java
63697af83b5479733f2d4398b4199b8e492f532b 24-Sep-2009 Jeff Sharkey <jsharkey@android.com> Generalize DELAY_STARRED_UPDATE location.
/frameworks/base/core/java/android/provider/ContactsContract.java
26d48eb38e533402aa90add8d01489dace92af2f 24-Sep-2009 Jeff Sharkey <jsharkey@android.com> Add Groups query parameters for delaying STARRED update.

Part of fixing http://b/2075275
/frameworks/base/core/java/android/provider/ContactsContract.java
0c23212ebdfbe008aca95d2ace2e52ca0a0b7ec7 24-Sep-2009 Jeff Hamilton <jham@android.com> Re-hide the contacts APIs, the droiddoc build is failing.

Change-Id: I1d1e73924e26045ad137a19c32976ecfe68c7d49
/frameworks/base/core/java/android/provider/ContactsContract.java
85abdc59c3a31df6dc6ac4f20e64d5c91fa70023 22-Sep-2009 Jeff Hamilton <jham@android.com> Make the new ContactsContract public.

It replaces the now deprecated Contacts APIs.

Change-Id: Id65ff35d78cb79740cdc4c94388cc965ce4f2f2d
/frameworks/base/core/java/android/provider/ContactsContract.java
0fc0244e808925e848ee9e350a3a213bd7574249 21-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2097207] Adding filtering capability to aggregation suggestions

Change-Id: Ifce36286d2f573e69f872432cc34a1fca0311e02
/frameworks/base/core/java/android/provider/ContactsContract.java
88a83d3f108dcf01443b241439e14eedbd9615f5 21-Sep-2009 Jeff Sharkey <jsharkey@android.com> Update getDisplayLabel() API to support new types.

We recently added several new phone types, and this change
updates the API that resolves thoses types to strings. It
also uses unique string resources for each type, instead of
relying on types to be <string-array> indexes.

Fixes http://b/2118886
/frameworks/base/core/java/android/provider/ContactsContract.java
15e2669fcd8407519e9bb9609e6d8663c84734e6 20-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Moving DISPLAY_NAME to column "data1" to keep it "aligned" with other data types.

This is a minor optimization for the sake of the aggregator. The aggregator now relies on the display name
instead of structured components. As a result, we only need one column from the data table
for the structured name. For other data types it's data1. Might as well use the same column
for display name.

Change-Id: Ib22d1f1a7a91f12716d1a460e1578f01926c393a
/frameworks/base/core/java/android/provider/ContactsContract.java
abf15c30c11162b6756689b5f7543f0085d8302e 19-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding CONTENT_TYPE to CommonDataKinds.Email

Also removing deprecated API

Change-Id: Ie3bd17282bf57c3a73497c91ce233ed135c79502
/frameworks/base/core/java/android/provider/ContactsContract.java
0dc9841821fda472eaeb1aeea80aded0dbbfe687 19-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsContract: Adding joined columns to the CommonDataKind class definitions.

The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
Data._ID, // 0
Data.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Data.DISPLAY_NAME, // 5
};

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
Phone._ID, // 0
Phone.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Phone.DISPLAY_NAME, // 5
};

Change-Id: I2e84bca3277aeef06eec20cee8c2119ef3b90a9f
/frameworks/base/core/java/android/provider/ContactsContract.java
de71cb3b6f3a7484402e2288ddfaad3ea3821f59 19-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsContract: Adding joined columns to the Data class definition.

The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
Data._ID, // 0
RawContacts.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Contacts.DISPLAY_NAME, // 5
};

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
Data._ID, // 0
Data.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Data.DISPLAY_NAME, // 5
};

Change-Id: I03bfc700e4c8c58a175bc885bf7b807d7fed0744
/frameworks/base/core/java/android/provider/ContactsContract.java
ea36747114cb8c06742994dddc6a3cff2b666e69 19-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Revert "ContactsContract: Adding joined columns to the Data class definition."

This reverts commit dd768a6a736bc202b62aa20f3282b3cfb285dc7f.
/frameworks/base/core/java/android/provider/ContactsContract.java
dd768a6a736bc202b62aa20f3282b3cfb285dc7f 18-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsContract: Adding joined columns to the Data class definition.

The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
Data._ID, // 0
RawContacts.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Contacts.DISPLAY_NAME, // 5
};

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
Data._ID, // 0
Data.CONTACT_ID, // 1
Phone.TYPE, // 2
Phone.NUMBER, // 3
Phone.LABEL, // 4
Data.DISPLAY_NAME, // 5
};

Change-Id: I820e68efd6c1364241596f826c4da1b9c2defe11
/frameworks/base/core/java/android/provider/ContactsContract.java
0050ee36398c3ab6e5f1ee0038609aff8cf4f0e9 18-Sep-2009 Jeff Sharkey <jsharkey@android.com> Adopt new FastTrack API for internal widget, fix bugs.

Change internal widget to use new FastTrack API instead of
using SHOW_OR_CREATE. Also reset the internal Uri when
reused in lists. Fixes http://b/2087222
/frameworks/base/core/java/android/provider/ContactsContract.java
6449eb06acc934ba4007475680f236721181ee47 17-Sep-2009 Jeff Sharkey <jsharkey@android.com> Added API for triggering FastTrack.

I added a new API to help us move away from launching
FastTrack through SHOW_OR_CREATE. For now it's going to
still pass through as an Intent with extras, but in the
future this could be used to launch a Window from a system
service.

Partially fixes http://b/2087222
/frameworks/base/core/java/android/provider/ContactsContract.java
d5abd46059f1970de2fed2b88183e8ec198d4cf2 17-Sep-2009 Jeff Sharkey <jsharkey@android.com> Add "MMS" to common phone number types.

Partially fixes http://b/2092744
/frameworks/base/core/java/android/provider/ContactsContract.java
97bda4c5ae3f77a1b450d4abc06f3cf378cc6c1d 16-Sep-2009 Jeff Sharkey <jsharkey@android.com> Flag indicating if Contacts source has any unsynced groups.

Part of fixing http://b/2084771
/frameworks/base/core/java/android/provider/ContactsContract.java
33f889ae270f888f8fdc084f5f1f3d443532a46a 15-Sep-2009 Fred Quintana <fredq@google.com> change to use the new CALLER_IS_SYNCADAPTER flag
/frameworks/base/core/java/android/provider/ContactsContract.java
f46a9cf38207d03730c04d02cf40aa3859cd9ad3 09-Sep-2009 Jeff Sharkey <jsharkey@android.com> API to combine LOOKUP_KEY and Contacts._ID together.
/frameworks/base/core/java/android/provider/ContactsContract.java
bc9aa775ae244977e840fc2c21e03a039b399af8 09-Sep-2009 Omari Stephens <xsdg@android.com> Fix typo: IMMEDITATE -> IMMEDIATE
/frameworks/base/core/java/android/provider/ContactsContract.java
c4516a7b62de525e3d6d5e76851bdfaf12c11f05 03-Sep-2009 Fred Quintana <fredq@google.com> add a transaction monitor
/frameworks/base/core/java/android/provider/ContactsContract.java
989f263dcffc37a43846c3667f51ce8f752f2479 06-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing asymmetry between phone filter and email filter APIs.

Also, introducing a more advanced email filter, which will do a proper name
lookup using the normalized name and avoid returning duplicate results.

Also, upgrading the phone filter to do the same thing as the email filter
but with display names and phone numbers.
/frameworks/base/core/java/android/provider/ContactsContract.java
84ba06586b8dc079fec476b0d39b3d71687354a0 05-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing a concurrency problem by changing the contact aggregation exception API.

The current API requires a contact_id and a raw_contact_id
There are at least two issues with this approach I did not recognize initially:

1. Contact_id may be changed asynchronously by aggregation or some other process.
2. A raw contacts may need to be added to an aggregate before the actual aggregation pass
has gotten to it, so the client would need to wait for the aggregation to complete
before it can set an aggregation exception. That's backwards.
/frameworks/base/core/java/android/provider/ContactsContract.java
b1e2a4d0d0107df4ecf4d484a340ec21dc105305 04-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Removing references to deprecated API and the deprecated API itself.
/frameworks/base/core/java/android/provider/ContactsContract.java
0c36a517cd01a7112460a96f9f0fa2badf8f7015 03-Sep-2009 Jeff Sharkey <jsharkey@android.com> Add private API for data with presence.
/frameworks/base/core/java/android/provider/ContactsContract.java
b5759b5f4f01771a615c100c1d87adc702a6ef71 02-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding a convenience method to resolve contact lookup URI to a regular content URI
/frameworks/base/core/java/android/provider/ContactsContract.java
b3c49982840c05a5392d53efe97253c04fc59ef0 01-Sep-2009 Evan Millar <emillar@google.com> Mimetypes in ContactsProvider2 shouldn't overlap with those in ContactsProvider

This is necessary partly for general hygiene, but mostly because we need
to be able to determine based on the intent type what style URI to
return in the case of startActivityForResult().

Change-Id: Ib313d830b8646a70d5ac3ded11597af614429262
/frameworks/base/core/java/android/provider/ContactsContract.java
f35bce45058200ff1209385e63e34fbf59255db6 29-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding a column to Contacts, which will be used as an additional "soft" identity.

The main consumer of this feature is shortcuts.

The LOOKUP KEY column will contain an encoded concatenation of the contact's row id
as well as sync_ids of all constituent raw contacts. It goes with the "contacts/lookup/*/#" URI.

When we get such a URI, we will first try to load the
contact with the specified _id and lookup_key. If we cannot find the contact
that way, we will go scout for the contact that contains most of the sync_ids
we found in the lookup key.

We will need to make sure that the contact picker returns the lookup-style URIs.
/frameworks/base/core/java/android/provider/ContactsContract.java
14fb1538662724ef57d6b6bfb4bb53efed5a6650 30-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add mobile Email type.
/frameworks/base/core/java/android/provider/ContactsContract.java
b87d0e0e5778826cc4421aa7afa1798f232d3247 27-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Removing "summary"-style URIs.

We will determine whether to include Presence by looking at the requested projection.
/frameworks/base/core/java/android/provider/ContactsContract.java
5223b1668a987d90cdbd7f6c62ca17486281893b 26-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding an aggregation mode: AGGREGATION_SUSPENDED
/frameworks/base/core/java/android/provider/ContactsContract.java
7d6eb9a4b49f2796017bc00e92eaea4eb0a3507a 25-Aug-2009 Mike Lockwood <lockwood@android.com> ContactsContract: Fix null pointer exception in openContactPhotoInputStream()

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/java/android/provider/ContactsContract.java
84235ee923c13e58ce339c25c86f734b338a81e0 23-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add extra to exclude specific MIME-types from Fast-Track.

Also added ContactHeaderWidget accessor for passing along
this list when triggering Fast-Track. This is used so that
the header widget can hide the profile icon when launched
while already looking at the profile.
/frameworks/base/core/java/android/provider/ContactsContract.java
06a0323a5439ba5c1c31f9adb70918b5bf5f61de 22-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add fields to pass ungrouped counts to UI.
/frameworks/base/core/java/android/provider/ContactsContract.java
31f5dd3cdc4ade58ece5b5e14365634a0a3e6a1c 21-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Cleaning up Presence API
/frameworks/base/core/java/android/provider/ContactsContract.java
eb1a2ec4b2a429ceb924e6bce46b2b52c1cd85b2 21-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding a "Photo" directory under Contacts.
/frameworks/base/core/java/android/provider/ContactsContract.java
1c1629da30bd1b125c59ab9bbcecff3bb3e74324 20-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Protecting access to the new Contacts API with a try/catch block.
/frameworks/base/core/java/android/provider/ContactsContract.java
3c513ed95cee2e0bcd7208cb7e46307f09c907c9 20-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Converting CallerInfo to new Contacts API.
/frameworks/base/core/java/android/provider/ContactsContract.java
a1f1879beaf10375734eecdb34977304483e0f88 19-Aug-2009 Jeff Sharkey <jsharkey@android.com> Remove SOURCE_VISIBLE flag that is otherwise unused.
/frameworks/base/core/java/android/provider/ContactsContract.java
9303295e1db08bf73ebabac425bd39728bb2f893 19-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Redefining phone lookup API.
/frameworks/base/core/java/android/provider/ContactsContract.java
a659744041d0b74b4243fdd448a5fa302a581278 19-Aug-2009 Jeff Sharkey <jsharkey@android.com> Flag to make all contacts from specific source visible.
/frameworks/base/core/java/android/provider/ContactsContract.java
7b6771a97b9abe821e1cc6c126990fe960278f3a 17-Aug-2009 Jeff Sharkey <jsharkey@android.com> Bring back per-Account Contact-specific settings.

These are used for two purposes: a flag indicating the
default sync state for Groups to inherit, and a flag that
marks when Contacts that don't belong to any specific group
should be visible in UI.
/frameworks/base/core/java/android/provider/ContactsContract.java
403d7ac7d14e87ecc7df25a1fbb79649ec5ada90 17-Aug-2009 Jeff Sharkey <jsharkey@android.com> Bring back SHOULD_SYNC flag so sync groups can be edited.
/frameworks/base/core/java/android/provider/ContactsContract.java
62b83b7fc4642b71829737494258f12996bc1baa 12-Aug-2009 Jeff Sharkey <jsharkey@android.com> Deprecate extra gd:structuredPostalAddress fields.

For the purposes of contact data, there are some postal
address columns that are unsupported, since they don't
directly contribute to a "mailing address" for a person.

http://code.google.com/apis/contacts/docs/3.0/reference.html#structuredPostalAddressRestrictions
http://code.google.com/apis/gdata/docs/2.0/elements.html#gdStructuredPostalAddress
/frameworks/base/core/java/android/provider/ContactsContract.java
074fbfe62739c45f5eeb343f0053577221f800ec 11-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Removing primary/default phone number and email on contact from the API.
/frameworks/base/core/java/android/provider/ContactsContract.java
507f1607f7f7216c0e66751a30949c9670c57f09 11-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding a MARKED_AS_DIRTY parameter to Groups.
/frameworks/base/core/java/android/provider/ContactsContract.java
00c89f6266d1b559538b00000efeb905e00161cd 10-Aug-2009 Fred Quintana <fredq@google.com> add the deleted flag to the Groups table
/frameworks/base/core/java/android/provider/ContactsContract.java
d4e0b5713add447bbba7d716c112f425d6888f3b 07-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Clean-up of API for filtering contacts by phone or email. The api is now symmetrical.

Also, giving Presence.RAW_CONTACT_ID and Presence.DATA_ID unique ids to allow easy joining. The main rationale for this is that SQLite does not allow cross-database joins in VIEWs, so we cannot hide this join inside a VIEW.
/frameworks/base/core/java/android/provider/ContactsContract.java
8dcd14021c4164f0e75308bcf6bc9d6a1c1f6eff 07-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Introducing default email and phone number to replace the primary ones on the Contact.
/frameworks/base/core/java/android/provider/ContactsContract.java
8851e163fc5bc17d139bf29cd2ec2f3926d342bc 06-Aug-2009 Fred Quintana <fredq@google.com> - add several common kinds and beef up some others
- change the ContentProviderOperation selection backref store the backref as a long instead of as a string
/frameworks/base/core/java/android/provider/ContactsContract.java
6bfe14dea21deec4c90ceea79b8f810164f88031 06-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add SHOW_OR_CREATE size modes, trigger from contact header.

Added constants so that apps triggering SHOW_OR_CREATE can
request a desired size through EXTRA_MODE. Also added hooks
to internal ContactHeaderWidget to launch SHOW_OR_CREATE
when user taps on photo.
/frameworks/base/core/java/android/provider/ContactsContract.java
c9ec66b68b4ec98c9b2acb10ea25cfd7f0f648a2 05-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Removing SyncColumns from Contact - they were put there by accident.
/frameworks/base/core/java/android/provider/ContactsContract.java
3f86715d77f5c3d504aac449755d69d99aecdf51 03-Aug-2009 Fred Quintana <fredq@google.com> add missing types
/frameworks/base/core/java/android/provider/ContactsContract.java
91e4e85752ee60ef4965e5974cc3f62e3d0651fd 04-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding "service" columns: SYNC1, SYNC2, SYNC3, SYNC4 and SYNC5.

These columns will be used for things like sync parameters of a photo or group.

Also removing some obsolete deprecated APIs
/frameworks/base/core/java/android/provider/ContactsContract.java
1132200fa1f545a34f700d6000ded8c8c56134e4 05-Jun-2009 Jeff Sharkey <jsharkey@android.com> Added an extra for sharing a target rectangle extra.

Used to pass a location using screen coordinates when
starting a SHOW_OR_CREATE_CONTACT activity.
/frameworks/base/core/java/android/provider/ContactsContract.java
732da9293ac39bd0f14ed61367b7e76a76df2793 30-Jul-2009 Jeff Sharkey <jsharkey@android.com> Separated IM protocol into two fields, similar to TYPE.

In previous releases, we had combined well-known protocols
and custom protocols into a single field. This was because
of previous database constraints, which no longer exist
because of our new Data table approach.
/frameworks/base/core/java/android/provider/ContactsContract.java
7cca5f83638b019cc68acfaedd533602a97486b0 28-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsContract: Renaming Aggregates to Contacts
/frameworks/base/core/java/android/provider/ContactsContract.java
facbbb37835020b767f259f0f625386b52b2ad89 28-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsContract: Renaming CONTACT_ID to RAW_CONTACT_ID
/frameworks/base/core/java/android/provider/ContactsContract.java
d5f56d1467cb877aa216effd605745f5f22b1917 27-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Introducing Contacts#DELETED flag.
/frameworks/base/core/java/android/provider/ContactsContract.java
2365ded4465332cc1de7fa661e2198854153d6dd 27-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Renaming ContactsContract.Contacts to ContactsContract.RawContacts
/frameworks/base/core/java/android/provider/ContactsContract.java
ef348c757d79e1751329db6746dbf846bdea6fc9 26-Jul-2009 Jeff Sharkey <jsharkey@android.com> Minor naming fixes.
/frameworks/base/core/java/android/provider/ContactsContract.java
55048a980e80cddf8d3556f3feaf235759ef24dd 24-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Associating Presence with Contact rather than Aggregate.
/frameworks/base/core/java/android/provider/ContactsContract.java
02c5b45565fd3a933b5dd5a868b7db33455d697c 23-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding contact group NOTES and SYSTEM_ID
/frameworks/base/core/java/android/provider/ContactsContract.java
8a0193e4ca1522b9a817ebd399812b6e2f1b0cdc 21-Jul-2009 Jeff Sharkey <jsharkey@android.com> Added StructuredPostal, renamed PACKAGE columns, cleanup.

Changed Postal to StructuredPostal, which is the new type
coming down from GData. This also prepares us for upcoming
data sources that need a structured version. Because of the
number of columns required, we added 3 new DATA columns.

Moved PACKAGE back to Data rows to allow multiple apps to
merge their action entries under a single Contact. Also
renamed to RES_PACKAGE to make clear that these packages are
strictly for loading resources, and do not imply the owner.

Removed RestrictionExceptions since we narrowed the scope
of IS_RESTRICTED for Eclair. Factored out sync columns from
Groups and Contacts into its own interface. Fixed general
warnings in comments.
/frameworks/base/core/java/android/provider/ContactsContract.java
761ef2a281a16bade5203db99e204aa303660ac4 17-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Contacts Data type consistency.
/frameworks/base/core/java/android/provider/ContactsContract.java
ffc34c13fb6b420c78fbd317f21363cd97a43db9 15-Jul-2009 Fred Quintana <fredq@google.com> finish the group membership support
/frameworks/base/core/java/android/provider/ContactsContract.java
c991bfc53ff287c512a8ba567135499cc4157900 15-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Replicating contact option columns between Aggregate and Contact.
/frameworks/base/core/java/android/provider/ContactsContract.java
b926375cdabef2e56a8212a9fa1774566f659eae 15-Jul-2009 Evan Millar <emillar@google.com> Add Uri for filtering the aggregate summary on group name.

New Uri is:

content://com.android.contacts/aggregates_summary/group/*

Where * should be replaced by the group name.
/frameworks/base/core/java/android/provider/ContactsContract.java
ae4f31706fa0589ede00dfce344779a1570cd2f3 14-Jul-2009 Fred Quintana <fredq@google.com> - add the DIRTY and VERSION columns to the ContactsProvider2 Groups contract
- make android.accounts.AccountAuthenticator into a public constant
/frameworks/base/core/java/android/provider/ContactsContract.java
0f4e1ab773d4d52bfb85a9ad2f050ead3b8b4e49 10-Jul-2009 Fred Quintana <fredq@google.com> - remove an un-needed constant
- add a content provider helper that manages a table for storing sync state by account
- add contact definitions to Contacts access the sync state
/frameworks/base/core/java/android/provider/ContactsContract.java
27143289799b15d9c9e1d19f1bc2c10e5a384712 09-Jul-2009 Fred Quintana <fredq@google.com> remove the accounts table from the ContactsProvider2
/frameworks/base/core/java/android/provider/ContactsContract.java
b2909eb9509092f1479ba7883dfaa1f1e7f4cc23 17-Jun-2009 Jeff Sharkey <jsharkey@android.com> Added groups constants and visibility flags.

Wrote code to support groups and slightly modified existing
group membership definition. Each group has a TITLE, or a
TITLE_RESOURCE which can point to a localized title from
the owning package.

Adds summary Uri with columns that describe the contents of
all returned groups, such as people counts.

Added visibility flag to groups and aggregate tables to
prepare for group management UI.
/frameworks/base/core/java/android/provider/ContactsContract.java
693d50e7aef79f16519bf9786af68124ffaf5cd8 22-Jun-2009 Dmitri Plotnikov <dplotnikov@google.com> Moving send-to-voicemail and ringtone-uri up to the aggregate level.
/frameworks/base/core/java/android/provider/ContactsContract.java
c043752ca3cdd71fbee868a351881bd4272c31a7 24-Jun-2009 Evan Millar <emillar@google.com> Adds precedence information to the CommonDataKinds.Im class.

There is now a method getPresencePrecedence() that returns an integer
representing the precedence of a presence status, 1 being the highest
prcedence.
/frameworks/base/core/java/android/provider/ContactsContract.java
57ac3d59c139ebc7d5ef470cbfb8bd315eff7a3e 15-Jun-2009 Jeff Sharkey <jsharkey@android.com> Moved owning package and restricted flag to Contact.

Instead of having unique owner packages and restriction
flags being enforced on each Data item, I moved these
columns up to the Contact level. This approach greatly
simplifies the provider logic.
/frameworks/base/core/java/android/provider/ContactsContract.java
dc2da5fd922fc8de0ffcb22df3622b57ed777732 19-Jun-2009 Evan Millar <emillar@google.com> Copies the Contacts.Intents class to ContactsContract.

ContactsContract now contains all the useful constants that are
contained in Contacts.Intents. Because we have to continue to
support the Contacts interface, the constants are kept there,
but now simply reference the real versions in Contacts.Intents.
Contacts.Intents will be deprecated and developers are encouraged
to move to Contacts.Intents.
/frameworks/base/core/java/android/provider/ContactsContract.java
9d044514f7777cd42776b7c5251ea83dc4e97931 16-Jun-2009 Dmitri Plotnikov <dplotnikov@google.com> Changing aggregation exception API.

Switching from contact-contact pairs to aggregate-contact pairs
/frameworks/base/core/java/android/provider/ContactsContract.java
161dd86394a9733fd7ff303c31481cae7e31e7b4 13-Jun-2009 Evan Millar <emillar@google.com> Add new URIs to the Phone and Postal classes.

The Postal class now contains:
CONTENT_URI
* The content:// style URI for all data records of the
* Postal.CONTENT_ITEM_TYPE mimetype, combined with the associated contact
* and aggregate data.
CONTENT_TYPE
* The MIME type of CONTENT_URI providing a directory of
* postal addresses.

The Phone class now contains:
CONTENT_URI
* The content:// style URI for all data records of the
* Phone.CONTENT_ITEM_TYPE mimetype, combined with the associated contact
* and aggregate data.
CONTENT_FILTER_URI
* The content:// style URI for filtering data records of the
* Phone.CONTENT_ITEM_TYPE mimetype, combined with the associated contact
* and aggregate data. The filter argument should be passed
* as an additional path segment after this URI.
CONTENT_TYPE
* The MIME type of #CONTENT_URI providing a directory of
* phones.
/frameworks/base/core/java/android/provider/ContactsContract.java
c933fb663e4748c4fa3f92fc63649e5199519a86 11-Jun-2009 Fred Quintana <fredq@google.com> add a data_version column to the data table
/frameworks/base/core/java/android/provider/ContactsContract.java
0918bf06881f32e6e3cf750f713b16c7d65e4012 11-Jun-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding new query: aggregation suggestions
/frameworks/base/core/java/android/provider/ContactsContract.java
28b68e5a59289f6947dc799b66a3b503571f876e 11-Jun-2009 Jeff Sharkey <jsharkey@android.com> Added data restriction constants to ContactsContract.

Each data item can now be flagged as IS_RESTRICTED by the
package that owns it. Restricted data items will only be
visible to the owning package, unless the owner creates
RestrictionExceptions for other packages.

Currently @hide, so no current.xml needed.
/frameworks/base/core/java/android/provider/ContactsContract.java
d530b3ce850cfa3d61b79eba1aee6f67b04dba15 02-Jun-2009 Jeff Sharkey <jsharkey@android.com> Added presence columns and changed constants to match provider.

Minor changes that don't need a current.xml because they are @hide.
/frameworks/base/core/java/android/provider/ContactsContract.java
78e79ad61bee932a9ce1418a9b9e8a5bae8bf2df 08-Jun-2009 Evan Millar <emillar@google.com> Adds BaseTypes interface so that a general TYPE_CUSTOM field is available.

BaseTypes contains only TYPE_CUSTOM.

Changed Nickname's TYPE's to 0 based instead of 1 based.
/frameworks/base/core/java/android/provider/ContactsContract.java
435e427d6930f8610191071656dc26528000620b 05-Jun-2009 Fred Quintana <fredq@google.com> fix a incorrect merge
/frameworks/base/core/java/android/provider/ContactsContract.java
d8dfeb5ee82d679f491cd20e776907a69fb4f27c 04-Jun-2009 Fred Quintana <fredq@google.com> - make it easier to add content values to the ContentProviderOperation
- add the group membership common kind as well as some IM utilities to the ContactsContract
/frameworks/base/core/java/android/provider/ContactsContract.java
a41d3856fafff0e92cc85586c7d2a414036f85ac 04-Jun-2009 Dmitri Plotnikov <dplotnikov@google.com> Changed aggregate_exception to aggregate_exceptions

Changed singular to plural to follow the apparent convention.
/frameworks/base/core/java/android/provider/ContactsContract.java
ab5742dd63f4e62ee0f55f786854c024ef8c5bb4 03-Jun-2009 Evan Millar <emillar@google.com> Adds "is_primary" and "is_super_primary" columns to DataColumns.

Replaces the "primary" values stored in generic data fields with
standard "is_primary" and "is_super_primary" fields in the DataColumns
class. This makes it much easier to watch for changes to these fields
and enforce the uniqueness of primary fields.
/frameworks/base/core/java/android/provider/ContactsContract.java
ceaafa5f1f0504ec85a7d6cdf45381cf748f54aa 03-Jun-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding a new type: aggregation_exception.
/frameworks/base/core/java/android/provider/ContactsContract.java
c9260540729d731e22458ce48127ca2ffaef33ee 29-May-2009 Dmitri Plotnikov <dplotnikov@google.com> Consolidating data needed for contact aggregator into the data1 and data2 fields.

The aggregator will then only read data1 and
data2 and do the matching on those (taking mime type into account, of course).
/frameworks/base/core/java/android/provider/ContactsContract.java
03d9490758c9318cee6d14d3cc5007556dce92d0 22-May-2009 Fred Quintana <fredq@google.com> - create a new generic ISyncAdapter implementation, SyncAdapterNew
- change the applyBatch to take an ArrayList rather than an []
- change Entity to be a final flass that contains ContentValues
- remove the ability to update/insert Entities by a ContentProviderOperation
/frameworks/base/core/java/android/provider/ContactsContract.java
5f123bdcde61b9fdcd58952882c621c34a727e10 29-May-2009 Dmitri Plotnikov <dplotnikov@google.com> Making sure non-public API is marked with @hide.
/frameworks/base/core/java/android/provider/ContactsContract.java
569277732b4180c07c9f917ff8c3fc3111b10338 29-May-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing javadoc references.
/frameworks/base/core/java/android/provider/ContactsContract.java
088b2918423ef79b92c0b0433f2f59a1fd0f7c1b 29-May-2009 Evan Millar <emillar@google.com> Move ContactsContract.java and SocialContract.java into android.providers

The ContactsContract and SocialContract lived previously in the
com.android.providers.contacts2 package, and could not be accessed by
other packages from there without symlinks, which was getting messy. If
it turns out there was a good reason for having the contracts in that
package we may have to move these back, but for now this seems like the
obvious configuration.
/frameworks/base/core/java/android/provider/ContactsContract.java