commit | 59d8edd09dc88cc0eb629bdee711a004d300f2fa | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Sun Jan 09 11:05:50 2011 -0800 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Sun Jan 09 11:05:50 2011 -0800 |
tree | ae55a0c7a3f559dd2a2d12f891af9dde9787d363 | |
parent | 2954cd91ab1fef14c8aed5173c160ce00558cd3a [diff] |
Fixed the waitForLoader method. The reason we need a separate latch is that AsyncTask will post onPostExecute/onCancelled _after_ executing mFuture.get(). The previous implementation would only wait for mFuture.get() to complete and not the entire task. Change-Id: I96964591980965148eb09af38b5838bfa5d28277