commit | 3ce9cb8e04c821453dd7731b30309d508017f89c | [log] [tgz] |
---|---|---|
author | Tom Taylor <tomtaylor@google.com> | Tue Sep 27 15:14:58 2011 -0700 |
committer | Tom Taylor <tomtaylor@google.com> | Tue Sep 27 15:14:58 2011 -0700 |
tree | cee573df3515896adfab0f7d8e678f12afeda45b | |
parent | 1e986fce092b933dad572e01426bd6482d0a1405 [diff] |
Delete unreferenced phone numbers Bug 5375782. Bug 5172594 The canonical_addresses table in mmssms.db is used to keep a reference between recipientIds and phone numbers/email addresses. The threads table contains references to these recipient ids. When a thread is deleted, the recipients are orphaned. With this change, whenever a thread is deleted, we delete unreferenced numbers. Change-Id: I7e1b7a11317d2e6662fab3f434239fe21ca313ec