diff options
| author | 2009-09-18 15:28:22 -0700 | |
|---|---|---|
| committer | 2009-09-18 15:54:26 -0700 | |
| commit | de71cb3b6f3a7484402e2288ddfaad3ea3821f59 (patch) | |
| tree | 9f81ea94d36ffe9df8effc5937f25dc3ea66a456 /opengl/libagl/array.cpp | |
| parent | 90d8a6a449dc12fea2b56b557c243e33746d914a (diff) | |
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
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions