commit | 0fc8fa57bf5fe791706490a5259ddf2b75519bcc | [log] [tgz] |
---|---|---|
author | mindyp <mindyp@google.com> | Tue Sep 04 10:43:23 2012 -0700 |
committer | mindyp <mindyp@google.com> | Tue Sep 04 10:43:23 2012 -0700 |
tree | 815caedbf9d75fd12b800117868e0817e64e6ceb | |
parent | 8e3e16e690ea5f99fbb66f724d21c3f9f852ad92 [diff] |
If the query is a prefix of what would complete with the suggestion, just use the suggestion the logic for removing doubles only needs to be applied in the case where there is EXTRA text before the start of the suggestion Fixes b/6995886 Selecting search suggestion causes strange behavior Change-Id: If2a2c3824ab5e7e02aa9fe80d955c31d6e3ad5fa