History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/CachedLater.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7f5ff91319a8433abd92f3e3179158e38391e159 26-Oct-2010 Bjorn Bringert <bringert@android.com> Fix creating state bug in CachedLater

Before, mCreating was not cleared in store(), so the call sequence
getLater(), clear(), getLater() would result in the consumer in the
second getLater() never getting called.

The only real change here is adding "mCreating = false;" in store().
The rest is clean-up, debugging statements and unit tests.

Bug: 3131012
Change-Id: I0fc805eb70965cb85d31ab2142b41d709bdb8e22
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/CachedLater.java
e29d52aa72c96c3147fa91d83aeb8dafc6d1f578 08-Oct-2010 Mathew Inwood <mathewi@google.com> Load icons from other processes in a seperate thread.

This protects againts the process not responding, which previously caused QSB to
lock up. We also protect against the process throwing an exception in the same
case.

This change causes some icons to load after the suggestions are displayed. For
example, contact photos are displayed shortly after the contacts show, but the
quick contact badge is visible immediately. This only happens for suggestions
with content:// URIs for the icons.

Bug: 3064103

Change-Id: I23f36a82d381ea76897d65fe2f3ec46f6642b7d5
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/CachedLater.java