commit | 8923911c6911df59d9227056f3e5a107964632dc | [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 | 0600c98f0bc2332fce9d309a92804bd0d7a4dc35 | |
parent | ca3093934646b0d755b1fefbfbdde557cb566004 [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