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/tests/src/com/android/quicksearchbox/util/CachedLaterTest.java
|