commit | fa934276f5d1d5432ac96abd7308c3dd7f3e6d4b | [log] [tgz] |
---|---|---|
author | Jin Cao <jinyan@google.com> | Thu May 01 13:38:21 2014 -0700 |
committer | Jin Cao <jinyan@google.com> | Thu May 01 13:38:21 2014 -0700 |
tree | 5b408bd5facad329ab7c160525732166e3f687c5 | |
parent | 5cf73b8acfce82fdc8185313b939d0c35271be3c [diff] |
Fix view state when resuming from search Added check to onResume such that when we resume and the cursor is not ready, we should essentially treat it like onCreate and set the appropriate flags and the default view state. Previously, the fragment's cursor gets cleared when we perform a search, thus when we resume from search, we see the empty state for a little bit before the cursor loads the actual data. b/14461247 Change-Id: I5f9124179e710631aa76b414dd1fec3c4d670138