commit | eecb915cdb3978391bb25b66e69171d163c7f44b | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Wed Jan 11 13:30:50 2017 -0800 |
committer | Ben Lin <linben@google.com> | Wed Jan 11 14:10:38 2017 -0800 |
tree | 67527dda0415df608d94861380fff2bf5e26169d | |
parent | 991f38822d2fbbffbfa50d1822e37cbbde7c5b69 [diff] |
Proper ActionMode clean up when spring opening directories. Since ActionMode has an assert that it should be null when being reset, there was a crash for the case of spring opening directories due to actionMode.finish() not properly called before opening the directory. This now ensures actionMode.finish() is called beforehand. Test: Wrote ActionHandlerTest#testSpringOpenDirectory. Bug: 32749167 Change-Id: Ifa39e9fcf02f4f848ea5cf4f26b01280d32a47c0