Closes #2364: Prevent duplicate ViewHolder IDs in AwesomeBar
- This also fixes the HistoryStorageSuggestionProvider to dedupe
history suggestions based on the ID, picking the one with the
highest score.
- Should other providers still return suggestions with duplicate
IDs we now throw an exception containing the provider class name.
Co-authored-by:
Grisha Kruglov <gkruglov@mozilla.com>
Please register or sign in to comment