2f6c8b84b24d3adf767e8533627f6f63e73acbde |
|
26-Oct-2010 |
Bjorn Bringert <bringert@android.com> |
Fix error messages when using browser suggest without network Before, SuggestionCursorBackedCursor didn't close its SuggestionCursor. This was never actually caused a leak, since it was only given GenieCursors and dummy cursors, but it did cause an annoying leak log message when using Browser web suggest in airplane mode. Also, a NullPointerException exception was thrown by SuggestionCursorBackedCursor.getColumnNames() if the backing cursor was null. Bug: 3127561 Bug: 3132705 Change-Id: I08caa46d2094d74b362e110de921c1d7af2a254d
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursorBackedCursor.java
|
5229b06f00d20aac76cd8519b37f2a579d61c54f |
|
01-Oct-2010 |
Mathew Inwood <mathewi@google.com> |
Support for custom suggestion views. Each Source can now define its own view factory to be used to display suggestions from that source. Suggestions now also support extras (extra columns in the cursor) that can be displayed in a custom suggestion layout. Change-Id: Ie8dcedbbccfe7673804703adc8fabaae467626d9
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursorBackedCursor.java
|
93bd2e70b8b08da1ec37fd0e990dac05551d2e90 |
|
29-Jun-2010 |
Bjorn Bringert <bringert@android.com> |
Another big QSB refactoring - Change GoogleSource to return a suggestion cursor backed directly by the JSON returned by the server, to avoid unecessary conversions when showing web suggestions in QSB and improve laziness. - Add SuggestionCursorBackedCursor to keep the web suggestion ContentProvider working after the above. - Extract Suggestion interface from SuggestionCursor, and use it to replace DataSuggestionCursor use with ListSuggestionCursor. - Add GoogleClient.isLocationAware(). GoogleSource previously always returned true. Change-Id: Ibe5ab2839267546b15488fa0a31e8535c014232a
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursorBackedCursor.java
|