commit | 4f87c89e949432aebccce6f24280d7fb2d5f5f15 | [log] [tgz] |
---|---|---|
author | Daniel Lehmann <lehmannd@google.com> | Tue Mar 30 17:03:45 2010 -0700 |
committer | Daniel Lehmann <lehmannd@google.com> | Tue Mar 30 17:03:54 2010 -0700 |
tree | 62de1b797aa0799372e6869ffe703afa127b093f | |
parent | b94a80a5c9b0f47a044141f8a36200f58853405a [diff] |
Small modifications to speedup ViewContactActivity Bug:2546767 - Use query parameter instead of sql string concatenation - Try to use the ContactID that is passed in the Intent; fallback to lookup key if it is wrong (saves up to 2 queries) - Initialize the newEntities list directly with the correct length Change-Id: Iab271f9b30a10fb23a50cd9feba831c72cfd994f