commit | 039fc5fdfdca26aa2edcb38be45362a98110f4c8 | [log] [tgz] |
---|---|---|
author | calderwoodra <calderwoodra@google.com> | Tue Aug 08 00:31:05 2017 -0700 |
committer | Eric Erfanian <erfanian@google.com> | Wed Aug 09 17:32:17 2017 -0700 |
tree | 94cbfe493c63660e45605002d22cdc4da6f2ef44 | |
parent | 9fa921468cc23d6eca0a0c4e6a80fb548265801b [diff] |
New Search Fragment no longer crashes when the device is rotated. In the new search fragment, if you rotated the device, a crash would occur because we were prematurly closing the cursors on our own. Since the cursors are managed by CursorLoaders, we don't actually need to close the cursors ourselves and can leave that to the framework. Bug: 37209462 Test: SearchFragmentIntegrationTest PiperOrigin-RevId: 164562508 Change-Id: Id33274ccb23d026dab352e754a5f03ab834d9d14