AI 147681: Fix SearchDialog crash on missing FORMAT suggestion column.
CL 147456 introduced support for HTML formatted search suggestions. This is triggered by the value "html" in the SUGGEST_COLUMN_FORMAT column. However, the code failed to check that the SUGGEST_COLUMN_FORMAT column was present before trying to read it. This resulted in an IllegalStateException being thrown when searching with a suggestion provider that does not include the SUGGEST_COLUMN_FORMAT column. This broke search at least in the Contacts and Music apps. Automated import of CL 147681
Loading
Please register or sign in to comment