Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Change I9992ad02bae68bc46ad3b2f5aababbde091ca5d1https://android.googlesource.com/platform/packages/providers/ContactsProvider/+/767f503614c0df657e825b4eed04b619e1bb9009 introduced new code to remove contact information from the full text search (search_index table). However, I believe the WHERE clause that selects the records to be removed is incorrect.
It currently reads:
It should use
contact_id
rather thanrowId
. As written, it removes contacts the first time an account is removed, but not subsequent times (because the rowid no longer matches the contact_id).