commit | 71dac09258be51d48abf409aab84ee33e4d92ddd | [log] [tgz] |
---|---|---|
author | Tony Huang <tonyychuang@google.com> | Fri Jun 14 11:37:32 2019 +0800 |
committer | Tony Huang <tonyychuang@google.com> | Fri Jun 14 16:45:18 2019 +0800 |
tree | c3b88707d1b297fccca48f50cd48e858aac0c0c6 | |
parent | 28d5f8ee15082927a9ff60c66bda831a7139f6e3 [diff] |
Fix crash when mouse double click folder Entering folder will cause fragment removed and its lib will send ACTION_CANCEL by TOOL_TYPE_UNKNOWN so cause precondition checking failed. By RecyclerView owner suggestion, we should return false while active folder case because this will throw item to selection when it is true. Return false can avoid it put into selection. Fix: 135037319 Test: atest DocumentsUIGoogleTests Test: manual Change-Id: I287581fc9fdbdb3d1aa80a63f40ddfd215b1e602