diff options
| author | Fabian Kozynski <kozynski@google.com> | 2018-10-15 14:25:18 -0400 |
|---|---|---|
| committer | Fabian Kozynski <kozynski@google.com> | 2018-10-17 09:28:20 -0400 |
| commit | 1fda7cba7e0d9d82f2459ea1e3595d72fb3faf9f (patch) | |
| tree | 852fbd7574d5b45a7f64da274ce28099d11ac89b /docs/html/sdk/api_diff/24/changes | |
| parent | 9f364bd2067d59b9e806e5a9c052e272ab7b3886 (diff) | |
Guarded against ArrayOutOfBounds
In some monkey tests, getAdapterPosition returns -1 (for example, if the
ViewHolder is not bound). In this case, we shouldn't proceed with the
moving operation.
Test: manual
Change-Id: I1eccc2c60136ddf5cc0175d88a3fddbe1d2a5a97
Fixes: 117769352
Fixes: 116871219
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions
