Dmitri Plotnikov de71cb3b6f 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
2009-09-18 15:54:26 -07:00
2009-09-18 11:30:47 -07:00
2009-09-18 11:49:55 +08:00
2009-09-16 14:45:22 -07:00
2009-09-18 11:30:47 -07:00
2009-09-15 09:54:20 -07:00
2009-09-18 18:25:33 -04:00
2009-09-18 17:02:56 -04:00
Description
No description provided
5.1 GiB
Languages
Java 77.3%
Kotlin 9.2%
PowerBuilder 6.6%
C++ 5.5%
AIDL 1%