Fixing upgrade logic to contacts.db v.205

The problem was caused by unsynched deleted raw contacts. These
raw contacts don't have a contact_id, which was the cause
of the exception during the upgrage.

Bug: 2338000
Change-Id: I04630bee76edc7ba70324afa88e9dcae9aa99512
1 file changed