diff options
author | calderwoodra <calderwoodra@google.com> | 2017-10-04 14:26:41 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-10-04 16:01:05 -0700 |
commit | d4dbf3c2d76767a7c4567a441fad27a5c1b22035 (patch) | |
tree | 4fc8dd91c8790f766f2554a2d21077e7b0f5a747 /LICENSE | |
parent | cb52c4c1358add154fc7532f368893166247da9b (diff) |
Copy directory list into new list to prevent modifications.
Since lists are passed by reference, if the directory list passed into
RemoteContactsCursorLoader was modified before #lodInBackground was called, the
directory list would change and crash when compared to the list of cursors.
Since directory lists are small, there shouldn't be any memory issues with
copying the list.
Additionally, this CL adds some logging to the new Search Fragment.
Bug: 66902071,66902062
Test: RemoteContactsCursorLoaderTest
PiperOrigin-RevId: 171063035
Change-Id: Id2faa542805da4167fc7045e6fbe71d02c644ab6
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions