summaryrefslogtreecommitdiff
path: root/libs/rs/rsProgramVertex.cpp
diff options
context:
space:
mode:
author Nicolas Catania <niko@google.com> 2010-01-05 16:03:08 -0800
committer Nicolas Catania <niko@google.com> 2010-01-11 15:58:10 -0800
commitc72509b4d815e23bfa563cfe96e04f54f2a221fe (patch)
treef1bcd22758e154f0d497076040433832a2ac3ff8 /libs/rs/rsProgramVertex.cpp
parent0f5525ad3b9b341a6c288ded8a8a08572fc657c6 (diff)
Fix the CallerInfo lookup when a phone URL is used.
Typically the CallerInfo is looked up based on a phone number, in which case the '_id' column contains the contact id. However when the lookup is based on a phone row, the '_id' column is the row number we queried. The contact id is stored somewhere else in a 'contact_id' column. The current fix, checks the mime type of the contactRef URL to find out which column contains the contact id. I think the contact DB should be more consistent and always return the contact id AS contact_id even in the phone number scenario. Bug:2269240
Diffstat (limited to 'libs/rs/rsProgramVertex.cpp')
0 files changed, 0 insertions, 0 deletions