commit | 21240052ad5f12c35b697cf1237491b6b4033594 | [log] [tgz] |
---|---|---|
author | Yoshiki Iguchi <yoshiki@google.com> | Thu Oct 15 13:34:41 2015 +0900 |
committer | Yoshiki Iguchi <yoshiki@google.com> | Mon Oct 19 14:35:55 2015 +0900 |
tree | 6197155572c4d0bcdc762a9ec1de387f38f56f88 | |
parent | 0a5e256d9fd56607ab4bbd987268fbfa3fe935fe [diff] |
Fix crash on calling removeSelection with showing selection handlers A crash occured on updating after calling removeSelection with showing selection handlers. This was because some selection-handler code didn't consider the case the selection index was -1 (-1 means there is no selection). This patch fixes this crash. Bug: 23299977 Change-Id: I736d315e073f773aec597522203015205a8da42b