diff options
author | calderwoodra <calderwoodra@google.com> | 2017-09-20 11:43:15 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-09-20 13:37:08 -0700 |
commit | 2ea58f749187ec3360b7ce8acac632bece24929e (patch) | |
tree | c7aeada070f1fbdb602efeef5f542323df2724cc /java/com/android/dialer/dialpadview/res/values-bn | |
parent | a6ac6b5eb080a7de2352e8dd9e5105fc7d86b289 (diff) |
Fixed issue where all contacts weren't beign shown.
The underlying issue was that if a query was input that filtered out all of the
on device contacts, then the device rotated, the cursor would be reloaded with
all contacts filtered and getCount == 0. This would cause the cursor to never be
set in SearchCursorManager and on device contacts would no longer be shown
because the cursor wasn't being saved.
The reason this check was here, was because cursor headers were being managed
by SearchCursorManager. Since headers were moved into the cursors we no
longer need to set cursors to null if they are empty.
Bug: 65859191
Test: existing
PiperOrigin-RevId: 169425922
Change-Id: I0baf31c3747d679f394f3746f609b9487e52472d
Diffstat (limited to 'java/com/android/dialer/dialpadview/res/values-bn')
0 files changed, 0 insertions, 0 deletions