diff options
| author | 2009-09-18 13:24:25 -0700 | |
|---|---|---|
| committer | 2009-09-18 13:53:49 -0700 | |
| commit | dd768a6a736bc202b62aa20f3282b3cfb285dc7f (patch) | |
| tree | 7d523a8c47108d3cfe0daf7e8eb7143decdd5b2e /libs/ui/FramebufferNativeWindow.cpp | |
| parent | e5a6d16f26543061a0fc815ba90644a44995e025 (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: I820e68efd6c1364241596f826c4da1b9c2defe11
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions