commit | 6423c02762d2975d02a06ea5c7b4e2955a3a4bed | [log] [tgz] |
---|---|---|
author | Tingting Wang <tingtingw@google.com> | Thu Sep 03 16:09:54 2015 -0700 |
committer | Tingting Wang <tingtingw@google.com> | Fri Sep 04 15:17:02 2015 -0700 |
tree | 3f13b181f65b7d398abb3245d489446941e11cd4 | |
parent | 8a0e6f8a1c97395aff405c748c8ff152dee0906f [diff] |
Modify ContactMetadataProvider to support upsert. To make Lychee sync adapter easy to upsert a metadata to MetadataSync table, modify ContactMetadataProvider update and insert methods to support upsert in insert() method. That is, update it if inserting an existing raw, and do not support update by calling update(). BUG 23795463 Change-Id: I4fdde36839a90b440f377ce15bd1ab51b9c6ce39