DescriptionMake urlbar in custom tabs not focusable
The urlbar in custom tabs is disabled and is not editable. However we
call urlbar.requestFocus in several cases, which causes a framework
crash. This CL added a flag mShouldHaveFocus in UrlBar and in onDraw()
we can choose not to set the urlbar to be focusable.
BUG=496418
Committed: https://crrev.com/890525d7cba5be038e640305f3199bac2bd964ef
Cr-Commit-Position: refs/heads/master@{#336641}
Patch Set 1 #
Total comments: 4
Patch Set 2 : respond to yusufo's comments #
Total comments: 2
Patch Set 3 : one nit #
Depends on Patchset: Messages
Total messages: 15 (4 generated)
|