commit | f33d0d7a59c82a493593e38f111293c1ea917700 | [log] [tgz] |
---|---|---|
author | Tony Huang <tonyychuang@google.com> | Mon Dec 02 17:25:52 2019 +0800 |
committer | Tony Huang <tonyychuang@google.com> | Mon Dec 02 17:25:57 2019 +0800 |
tree | 02e72adab104bbaa06668f746395cd317cc77628 | |
parent | e62906a393a399c4bfad87df0cea556d2bed262d [diff] |
Only clear selection if select size larger than 0 Many crash bug is occured while clearSelection onDestroyActionMode. By log pattern, selection change to 0 so it call action mode finish. In this case, selection size is 0 so we should not call clearSelection again. Fix: 143999752 Fix: 144862372 Test: atest DocumentsUIGoogleTests Change-Id: Ib50912e00dce62535e455dee431e142021ec7cba