Clean textDeleted selection hack |
||
Issue descriptionIn LocationBarLayout.onTextChangedForAutocomplete, there is a hack I suspect is no longer needed especially in the new model. Filing this to track removal. https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java?q=onTextChangedForAutocomplete&dr=CSs&l=1184 // Occasionally, was seeing the selection in the URL not being cleared during // very rapid editing. This is here to hopefully force a selection reset during // deletes. if (textDeleted) mUrlBar.setSelection(mUrlBar.getSelectionStart());
,
Jun 22 2017
I think moving it into AutocompleteEditTextModel was enough. Thanks for pointing this out. Closing.
,
Jun 22 2017
Yes, moving it there is fine. |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jun 22 2017