commit | 33ba334563bf8ec23ca4e08a685351cab29ddf86 | [log] [tgz] |
---|---|---|
author | Ben Kwa <kenobi@google.com> | Thu Sep 24 15:03:51 2015 -0700 |
committer | Ben Kwa <kenobi@google.com> | Thu Sep 24 16:01:13 2015 -0700 |
tree | e860af61c91a79a82bd80ebd897581926c2c4b24 | |
parent | 6fe7b5ea69baa39bc3f11f19c39ce5e6484e8c9e [diff] |
Fix a crash when deleting documents. Deleting (and moving) documents invalidates previous selections, as items change position. Exit selection mode *before* actually deleting anything, otherwise we end up trying to unselect potentially deleted documents. BUG=24338150 Change-Id: I79fb0c156142b78987be68560c78306f2678c521